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

Question about Tree view...

1 Answer 53 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
J
Top achievements
Rank 1
J asked on 27 May 2009, 03:34 PM
2 simple questions.
1).  What is the maximum depth the tree view can expand to?
2).  Is is possible to have on a 4 deep tree, node levels 1 and 2 not be expandable but node levels 3 and 4 expandable?

J

1 Answer, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 28 May 2009, 09:04 AM
Hello Jason,

Straight to your questions

1. There is no limit
2. How will you reach level 3 and 4 if level 1 and 2 are not expandable?
Generally speaking, you can subscribe to the OnClientNodeExpanding event, check the level of the node (node.get_level()) and cancel the event if you wish to stop the expanding.

Best wishes,
Veselin Vasilev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
TreeView
Asked by
J
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Share this question
or