Cannot assign columns
Hello I am very new to tanstack tables so this might be a dumb question but I am not able to assign the column definitions to the table. I am getting the following errors on vscode:
This is my code in page.tsx
Type is this:
And the column definition this:
I am not sure how to approach this :(
1 Reply
rival-black•2y ago
Your data and columns just have to use the same
List
generic
you can force the generic on the table too
useReactTable<List>>({})
and that might get you closer to seeing which of your variables is mistyped