TanStackT
TanStack3y ago
2 replies
dry-scarlet

Select All + Infinite Scrolling

Hello! I'm trying to create a table which has inifinite scrolling (with virtualized rows) and selections state.

I've got it mostly working by combining the infinite scrolloing and row selection examples however the 'select all' checkbox will only select the rows currently loaded. I would like to select all possible rows (including ones which are not yet loaded)

I am able to load an ID for every possible row which can eventually be loaded which should be enough to store the selection state but I'm wondering if anyone has any ideas for how best to approach this?
Was this page helpful?