I am using Kendo UI Tree View.
The tree view has the following nodes .
Country
- State
-Province
My Task is to get the province nodes of the checked Country node.Every thing works fine,When i checked the province nodes directly by expanding the country and state ,i'm getting the selected nodes.But the problem is that , if i want to get the province nodes only by checking the country node (without expanding the parent nodes). What should i do to over come this problem?
I am using the following code.
$("#divTreeview").kendoTreeView({
checkboxes: {
checkChildren: true
},
expanded: true,
dataSource: dsMenu,
dataTextField: "name",
dataValueField: "id"
});
Thank you
The tree view has the following nodes .
Country
- State
-Province
My Task is to get the province nodes of the checked Country node.Every thing works fine,When i checked the province nodes directly by expanding the country and state ,i'm getting the selected nodes.But the problem is that , if i want to get the province nodes only by checking the country node (without expanding the parent nodes). What should i do to over come this problem?
I am using the following code.
$("#divTreeview").kendoTreeView({
checkboxes: {
checkChildren: true
},
expanded: true,
dataSource: dsMenu,
dataTextField: "name",
dataValueField: "id"
});
Thank you