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

Expand to TreeListViewItem

1 Answer 48 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Veteran
Iron
Michael asked on 22 Oct 2014, 03:10 PM
Hi!
I use the TreeListView with LoadOnDemand to display a plant tree in my application.
Now I need a "Search" function for this plant tree.

I need a function to expand to a tree item with path.
Do you have a sample or some tips for me!

THX

1 Answer, 1 is accepted

Sort by
0
Nick
Telerik team
answered on 24 Oct 2014, 09:02 AM
Hi Michael,

RadTreeListView does not offer this functionality out of the box, however you can easily find a solution to the problem. 

You can establish the path you need to expand from your data, and use it later on for TreeListView. 

The idea is to use ScrollItemIntoViewAsync to expand the items one at a time until you reach the desired depth and item. 

Hope this makes sense. 

Regards,
Nik
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
TreeListView
Asked by
Michael
Top achievements
Rank 1
Veteran
Iron
Answers by
Nick
Telerik team
Share this question
or