Sticky Header for window scroll(without adding height and react table's vertical scroll) #2236
Unanswered
digholesnehal
asked this question in
General
Replies: 0 comments
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.
-
Hello, whenever I search for react -table's sticky header it suggests me to add height which results in vertical scroll to react-table and while using that scroll headers become sticky. But I don't want the vertical scroll to the table, but want the header get stitched to the top while scrolling, using window scroll. For that I tried using headerStyle and headerClassName but it was just applicable to each header separately but not to the whole header's row. I can't change the direct css of react table as I am using the react table in two various components, change in a global style will results in the change of both table's header. Can I get any solution for the same?
Beta Was this translation helpful? Give feedback.
All reactions