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.


4 Replies
extended-salmonOP•8mo ago
@Ilya Radchenko @piecyk may you shed some light upon this? Thanks
unwilling-turquoise•8mo ago
@lzl124631x maybe try to virtualize by first column
extended-salmonOP•8mo 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•8mo ago
yep, that is true