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

Large Hierarchy Slow to Expand

3 Answers 98 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
John Thompson
Top achievements
Rank 2
John Thompson asked on 10 Jun 2010, 07:20 PM
I have a TreeListView with a large number of nodes (800+) nested 3 or 5 deep.  When I call the ExpandAll method of the TreeListView the expansion can take several minutes.  I there a way to cause the items of the TreeListView to be built during idle time?

3 Answers, 1 is accepted

Sort by
0
Stefan Dobrev
Telerik team
answered on 15 Jun 2010, 10:55 AM
Hello John,

We have just released a beta version of our new TreeListView control based on GridView. It contains significant performance improvements over the its predecessor, which was based on our TreeView implementation. Can you please upgrade your project to use the new component and check the expand speed? You can use ExpandHierarchyItem and ExpandAllHierarchyItems methods to expand the hierarchy. Also you can check the updated version of our online example here.

Sincerely yours,
Stefan Dobrev
the Telerik team

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 Public Issue Tracking system and vote to affect the priority of the items.
0
John Thompson
Top achievements
Rank 2
answered on 15 Jun 2010, 12:16 PM
Thanks.  I got it working using the two methods you cited and some additional coding.

What would be nice is if I could expand an item and also have the parents expand or better yet set the SelectedItem and have its parents expand.  My application does this via walking down the hierarcy and expanding each parent and invoking the UpdateLayout method until I reach the item I want selected.
0
Stefan Dobrev
Telerik team
answered on 18 Jun 2010, 02:34 PM
Hi John,

We will definitely handle this scenario in the official version of the control so when you expand an item all its parents will be expanded as well. Thanks for your feedback. It is greatly appreciated.

Kind regards,
Stefan Dobrev
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
Tags
TreeListView
Asked by
John Thompson
Top achievements
Rank 2
Answers by
Stefan Dobrev
Telerik team
John Thompson
Top achievements
Rank 2
Share this question
or