T
TanStack8mo ago
extended-salmon

Can I use Masonry example to implement this hierarchical stricture?

I want to implement this hierarchical structure. I tried using Masonry example, but I think it requires a large overscan which is not scalable. Because if I sequentially put the nodes in preorder (USA, WA, BEL, Foo, Bar, SEA, Foo, Bar, WA Total, ...), I need a large overscan to be able to scan USA. How can I overcome this issue? Looker's pivot table does support this virtualized hierarchical structure.
React TanStack Virtual Variable), Example | TanStack Virtual Docs
An example showing how to implement Variable), in React using TanStack Virtual.
No description
No description
4 Replies
extended-salmon
extended-salmonOP8mo ago
@Ilya Radchenko @piecyk may you shed some light upon this? Thanks
unwilling-turquoise
unwilling-turquoise8mo ago
@lzl124631x maybe try to virtualize by first column
extended-salmon
extended-salmonOP8mo ago
@piecyk But if the first column only has one item, and the 2nd column has 10k item, it's equivalent to no virtualization, right?
unwilling-turquoise
unwilling-turquoise8mo ago
yep, that is true

Did you find this page helpful?