T
TanStack2y ago
unwilling-turquoise

Facing issues with react-table column visibility along with react-virtual

I'm using virtualization horizontal, and on adding the column-visibility from tanstack/react-table the virtualization window is shifted to the right side, hence whenever I'm scrolling horizontally the virtualization window is getting out of the screen. If I increase the overscan option then its resolved as the number of DOM nodes rendered increases, but that isn't what I want. Any way around so that I can control the size of the virtualization window as in where it should start and end ?
2 Replies
dependent-tan
dependent-tan2y ago
Hi, hard to say what is happening there, if you can provide codesandbox example i can have a look.
unwilling-turquoise
unwilling-turquoiseOP2y ago
okay cool, I will share a codesandbox. In the meantime can you help me with where can I find examples of react-virtual, utilising the advanced concepts like rangeExtractor, scrollElement etc. I don't find the docs informative at all. Anywhere else where I can grasp an understanding ?

Did you find this page helpful?