We are trying to get all or specific nodes of treeview. We are unable to do this with following code,
var testTreeView = $("#treeViewIdStr").data("kendoTreeView");
Above code returnds undefined data.
Is there any other way?
1 Answer, 1 is accepted
0
Alex Gyoshev
Telerik team
answered on 30 Oct 2014, 09:21 AM
Hello Pritesh,
The checkboxes example shows how to traverse all items in the TreeView (see the checkedNodeIds function). You can get specific items via the DataSource get method.
Regards,
Alex Gyoshev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!