T
TanStack11mo ago
optimistic-gold

Can I use wrapper functions to get column defs dynamically?

Hey there! I was currently building an app with tanstack table and shadcn. When fetching data from my page.tsx, I want that data to be passed dynamically to my columndefs ( in a separate file ). I want to use it for an action component. Please suggest a valid standard way to achieve this. Is using a wrapper function to get columns dynamically a suggested approach? Thanks in advance.
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?