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 am working on the project. So the problem here are -
Rendering of giant data of nodes in tree (approx. 2k-3k)
Have filter & sorting feature
Performance issue of page due to such huge size of data
However, in the doc, I didn't find anywhere how to tackle with sorting & filtering feature. It would be really great, if you can direct me to the doc where these things are mentioned ?
The text was updated successfully, but these errors were encountered:
Could you link an example where you've seen sorting of a tree structure?
For filtering I think you're "gonna have a bad time" if you're trying to show/hide nodes that match certain filters. You could however use the recomputeTree function on the tree ref to expand all nodes matching a specific filter using the subtreeCallback function. If, however, youre experiencing performance issues I would suggest not manipulating the tree all at once with a relatively complicated filter. In this case where performance is an issue I would recommend maintaining an index of the current node matching a filter and providing a button that will scroll the user to the next node matching that filter.
If you're experiencing performance issues due to tree size you might want to consider asynchronously building the tree.
Hi @Lodin ,
I am working on the project. So the problem here are -
However, in the doc, I didn't find anywhere how to tackle with sorting & filtering feature. It would be really great, if you can direct me to the doc where these things are mentioned ?
The text was updated successfully, but these errors were encountered: