Hi,
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.
http://jsfiddle.net/paulrajj/ymxgfb7p/
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
We are currently researching TreeView performance optimizations. We will review the described scenario with checkChildren configuration. However, keep in mind that the performance of toggling checked state depends also on the JavaScript engine of the browser and the CPU power of the machine.
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.
Regards,
Joana
Progress Telerik
Hi Joana,
Thanks for the reply. Kindly update if there is any treeview performance improvement optimizations. Regarding the browser javascript engine, am using latest chrome browser (Version 69.0.3497.100) and using 2018.3.911 Kendo UI version for development.
Thank you for the additional information. We'll update the thread once we have more information on the matter.
Regards,
Joana
Progress Telerik
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.
Regards,
Joana
Progress Telerik
Hi Joana,
Thanks for the intimation. Looking forward to the next release. :)
Hello @joana
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.
Regards,
Veselin Tsvetanov
Progress Telerik
Hi Joana & Veselin,
With the latest release (2019.1.115), the treeview performance has been optimized and improved. Thanks for your support.