Need help with defining style on cell level #5311
Unanswered
adarshSrivastava01
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Why not just add the class to cell? You could access it with cell.column.columnDef.cellClassName which you could add to TableCell, although I think the preferred way is to put it here https://tanstack.com/table/v8/docs/api/core/column-def#meta. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have this code for my table, when I am defining the columns I want to have a property
cellClassName
which should allow me to add style for particular column's cells, something like:Is there a way I can achieve this, also adding the code for table
Beta Was this translation helpful? Give feedback.
All reactions