You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've looked at the various examples, but there isn't one showing how to load "pages" of external data, in order to make a true "infinite scrolling" tree.
I've implemented infinite scrolling "flat" lists before, but it seems there would be some complications with a tree - how do we know which data set is scrolling and needs to be loaded? For example, If I have expanded a node at level 2 of a tree, and this node has 1 million children, preferably I'd load a "page" of children, and then when scrolling past the bottom boundary I'd start loading more of the children, which would be concatenated to the children[] array. However, it's not clear to me how the component could know which level of nodes (root, level 1, level 2, etc.) should be loaded on scroll.
Can you provide an explanation and example of how to use your component to implement a true "infinite scrolling tree" with loading external data?
Thanks.
The text was updated successfully, but these errors were encountered:
@cheton
I've looked at the various examples, but there isn't one showing how to load "pages" of external data, in order to make a true "infinite scrolling" tree.
I've implemented infinite scrolling "flat" lists before, but it seems there would be some complications with a tree - how do we know which data set is scrolling and needs to be loaded? For example, If I have expanded a node at level 2 of a tree, and this node has 1 million children, preferably I'd load a "page" of children, and then when scrolling past the bottom boundary I'd start loading more of the children, which would be concatenated to the children[] array. However, it's not clear to me how the component could know which level of nodes (root, level 1, level 2, etc.) should be loaded on scroll.
Can you provide an explanation and example of how to use your component to implement a true "infinite scrolling tree" with loading external data?
Thanks.
The text was updated successfully, but these errors were encountered: