I have implemented the treeview which has roughly 3000 to 5000 multilevel json objects.The treeview takes lots of time to load and render and fails sometimes. I have some concerns in implementing the treeview,
* I had to apply checkbox checkchildren option to keep the selected & unselected nodes.
* I couldn't apply neither loadondemand nor remote data binding option since i wanted whole datasource for storing and retrieving purpose from the db.
If I apply checkchildren option the browser hangs and kills the script. The treeview loading faster if checkchildren is set to false. I have tried with setTimeout option to enable the checkchildren after loading the treeview, but again it hangs whenever its getting applied to the treeview.
I have an example from this below link.
Kindly let me know if is there any work around or solutions to solve this issue. Thanks.
8 Answers, 1 is accepted
Thank you for providing a sample
I will update this thread once we finalize the research and what are the improvements made in the TreeView widget. Currently, the only feasible approach for improving performance is enabling loadOnDemand setting.
Thank you for the additional information. We'll update the thread once we have more information on the matter.
We've fixed the major bottleneck in performance when checkchildren option is used. Additionally, several other optimizations have been made. Currently, this task is in its testing stage and will be available in the next release.
Thanks for the intimation. Looking forward to the next release. :)
When is this next release coming ? Because this issue is very annoying :(
The TreeView performance improvements discussed will be included in the upcoming R1 2019 release, which is scheduled for mid January 2019.
Hi Joana & Veselin,
With the latest release (2019.1.115), the treeview performance has been optimized and improved. Thanks for your support.