Replies: 1 comment
-
You can see in this example how to add a classname or a style for the header and the cell: Basically it's like this: <th {...column.getHeaderProps([{
className: cell.column.className,
style: cell.column.style,
}])}> |
Beta Was this translation helpful? Give feedback.
0 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 am trying to make the first column in my React Table sticky, however I could not quite get it to work. The first column may still disappear when I scroll horizontally.
What I am doing is in
columns
CSS
It seems like
headerClassname
has no effect as I have tried other styling, none of them has any effects. ThanksBeta Was this translation helpful? Give feedback.
All reactions