Replies: 1 comment
-
There is no first-class support for pagination in RCT, but it might be possible do achieve this by augmenting the tree data provider in a way that it only returns the items that should be visible on the current page, and implement the pagination externally. Though notably the data provider would have to work based on the view state, so this might be easier to do with an controlled tree environment. I've also recently released a new tree library that improves on RCT on some points, headless tree, which supports virtualization, so essentially a fairly easy-to-implement infinite scroll mechanic. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
sometimes a node will have a too many children to fit realistically
what could work here is if some infinite scroll or some "view more" link
something more advanced could be outright pagination with specific page inputs.
what do you think ? how could i go about implementing this ?
Beta Was this translation helpful? Give feedback.
All reactions