This is a migrated thread and some comments may be shown as answers.
Treeview performance issues with checkchildren option
8 Answers 41 Views
This is a migrated thread and some comments may be shown as answers.
Paulraj
Top achievements
Rank 1
Paulraj asked on 20 Sep 2018, 01:18 PM

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

Sort by
0
Joana
Telerik team
answered on 24 Sep 2018, 08:20 AM
Hello Paulraj,

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
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Paulraj
Top achievements
Rank 1
answered on 24 Sep 2018, 08:59 AM

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.

0
Joana
Telerik team
answered on 24 Sep 2018, 11:48 AM
Hi Paulraj,

Thank you for the additional information. We'll update the thread once we have more information on the matter.

Regards,
Joana
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Joana
Telerik team
answered on 07 Nov 2018, 08:25 AM
Hi Paulraj,

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
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Paulraj
Top achievements
Rank 1
answered on 08 Nov 2018, 06:16 AM

Hi Joana,

Thanks for the intimation. Looking forward to the next release. :)

0
Sohail
Top achievements
Rank 1
answered on 20 Nov 2018, 09:41 AM

Hello @joana

 

When is this next release coming ? Because this issue is very annoying :(

 

0
Accepted
Veselin Tsvetanov
Telerik team
answered on 21 Nov 2018, 09:05 AM
Hi Sohail,

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
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Paulraj
Top achievements
Rank 1
answered on 18 Feb 2019, 12:19 PM

Hi Joana & Veselin,

With the latest release (2019.1.115), the treeview performance has been optimized and improved. Thanks for your support.

Asked by
Paulraj
Top achievements
Rank 1
Answers by
Joana
Telerik team
Paulraj
Top achievements
Rank 1
Sohail
Top achievements
Rank 1
Veselin Tsvetanov
Telerik team
Share this question
or