Treeview performance issues with checkchildren option

9 posts, 1 answers
  1. Paulraj
    Paulraj avatar
    17 posts
    Member since:
    Oct 2017

    Posted 20 Sep 2018 Link to this post

    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.

     

  2. Joana
    Admin
    Joana avatar
    205 posts

    Posted 24 Sep 2018 Link to this post

    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.
  3. Paulraj
    Paulraj avatar
    17 posts
    Member since:
    Oct 2017

    Posted 24 Sep 2018 Link to this post

    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.

  4. Joana
    Admin
    Joana avatar
    205 posts

    Posted 24 Sep 2018 Link to this post

    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.
  5. Joana
    Admin
    Joana avatar
    205 posts

    Posted 07 Nov 2018 Link to this post

    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.
  6. Paulraj
    Paulraj avatar
    17 posts
    Member since:
    Oct 2017

    Posted 08 Nov 2018 in reply to Joana Link to this post

    Hi Joana,

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

  7. Sohail
    Sohail avatar
    1 posts
    Member since:
    Jan 2016

    Posted 20 Nov 2018 Link to this post

    Hello @joana

     

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

     

  8. Answer
    Veselin Tsvetanov
    Admin
    Veselin Tsvetanov avatar
    1201 posts

    Posted 21 Nov 2018 Link to this post

    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.
  9. Paulraj
    Paulraj avatar
    17 posts
    Member since:
    Oct 2017

    Posted 18 Feb 2019 in reply to Veselin Tsvetanov Link to this post

    Hi Joana & Veselin,

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

Back to Top