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

Collapse some nodes not all

1 Answer 27 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Andy Green
Top achievements
Rank 2
Andy Green asked on 09 Jun 2014, 02:27 PM
Hi

I have a tree view inside a radcomboBox. This contains a list of location some 2 deep some 3.

Is it possible to collapse the 3rd level so that the top 2 are expanded, only the lower levels (if any exist) are collapsed.

Andy

1 Answer, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 10 Jun 2014, 07:05 AM
Hello Andy ,

You can use the NodeDataBound event and collapse the node in case its level is greater than 2 according to your scenario.

Hope this information will help you solve the issue.

Regards,
Plamen
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
TreeView
Asked by
Andy Green
Top achievements
Rank 2
Answers by
Plamen
Telerik team
Share this question
or