Fixed/Sticky Columns
See original GitHub issueIs it within the scope of this library to have some way to mark columns as being fixed/sticky?
Eg. having the cells in the first 2 columns of a VariableSizeGrid
not scroll horizontally while the rest of the cells do?
Currently I have other code that takes care of fixing these cells, but that is preventing me from using the *Grid
components to handle horizontal scroll windowing. Given the complexity of the some of the cell contents this can cause a the rows to take a long time to pop in while/after scrolling.
If this is not currently possible and within the scope of the library I would be willing to look at opening a PR to add this functionality.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:10 (2 by maintainers)
Top Results From Across the Web
A table with both a sticky header and a sticky first column
We've covered that individual cells, and can be position: sticky. It's pretty easy to make the header of a table stick to.
Read more >How do I create an HTML table with a fixed/frozen left column ...
One is using bootstrap CSS to implement sticky. The other answer provides code not directly related to the question, is incorrect, and uses...
Read more >Sticky Columns (Old Method) • reactable
To make multiple columns sticky, you have to set the left or right positions of the columns to where they'll stick. In this...
Read more >CSS to position sticky table header & first 3 columns
I just made it to freeze both header as well as the first 3 columns. The magic was lying with the z-index. Since...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@pupudu This should get you pretty far.
what about this one https://autodesk.github.io/react-base-table/examples/frozen-rows