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

Treeview - Disable Child nodes

1 Answer 166 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Vishwanath
Top achievements
Rank 1
Vishwanath asked on 22 Aug 2014, 12:16 PM
Hi, 

I have a a kendo treeview control and a requirement wherein I have to disable all the child nodes when a parent node is selected. I for the life of me cannot seem to get the list of child nodes for a parent node. Any help would be appreciated. 

1 Answer, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 25 Aug 2014, 08:53 AM
Hello Vishwanath,

To get all child nodes, get the dataItem of a node and look in the children dataSource. Here is a Dojo snippet that shows this.

Regards,
Alex Gyoshev
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
Vishwanath
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Share this question
or