Skip to content

Add pattern for virtualized table #3594

Discussion options

You must be logged in to vote

If it is just a Table, then using something like TanStack Virtual would work well.

We've avoided baking in this kind of feature into the components as it's just as easy for product teams to grab a third party library and use our basic HTML presentational components. Arguably, it's better, because it gives the consuming team control over dependencies and behaviors.

I created a little Codesandbox to demo how you just use the library without our HTML replacements. https://codesandbox.io/p/sandbox/virtual-tables-8x6zlx?embed=1&file=%2Fsrc%2Fmain.tsx%3A7%2C40

I'm less confident you'll have success with DataGrid because of the roving index keyboard navigation that comes with it might break or j…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@SiTaggart
Comment options

Answer selected by cdignam-segment
@cdignam-segment
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
4 participants