bvaughn / react-virtualized

React components for efficiently rendering large lists and tabular data
http://bvaughn.github.io/react-virtualized/
MIT License
26.13k stars 3.06k forks source link

Can we pin rows in a multigrid #1217

Open nat009 opened 5 years ago

nat009 commented 5 years ago

Hi,

I use the multigrid component. Was wondering if there is a way to pin the grid rows on clicking on the row. I know there is a fixed row option already available, but I'm looking for pinning any row that I click on

ohmyguigs commented 5 years ago

If you move the clicked row to the top and increase the fixedRows number you can do it. My doubt is how to track a rowClick. I could only do this passing onClick to every cell.