This is a migrated thread and some comments may be shown as answers.

Speed of items to load in treeview

3 Answers 97 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Patrick
Top achievements
Rank 1
Patrick asked on 29 May 2015, 01:48 PM

I'm loading about 2100 items in the treeview, top tier only, using incremental load for sub tier items.  The tree takes about 20 seconds to load, which will be a pain point to the end user.  I timed the server call to actually retrieve the 2100 items to populate, and that only takes about 1 second.  The rest of the time is spent loading the treeview client side.  Is there any way to make this faster?  I realize that's a lot of items and it might be unreasonable to expect it to load in just a few seconds.

 

thanks

3 Answers, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 02 Jun 2015, 12:56 PM

Hello Patrick,

Rendering 2100 TreeView elements is a resource heavy process, that we do not have an actual suggestion that will speed it up. The optimization that you can do is to enable the loadOnDemand option. but it will be valid for the child elements only, for the parent level there is no option that you can turn on in order to speed up the rendering.

Regards,
Kiril Nikolov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Patrick
Top achievements
Rank 1
answered on 02 Jun 2015, 01:32 PM
Thanks, I didn't think so.  I swapped the current Telerik 2015 MVC for the 2014 and now it takes 3 seconds.  Seems to be something in the latest library
0
Kiril Nikolov
Telerik team
answered on 02 Jun 2015, 01:52 PM

Hello Patrick,

Can you please provide a sample where we can reproduce the issue?

Regards,
Kiril Nikolov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
TreeView
Asked by
Patrick
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Patrick
Top achievements
Rank 1
Share this question
or