Hello,
I'm currently creating a treeview page using kendo JQuery.
I want to make it so that when a child node is selected, the parent node is selected.
I found this page, https://docs.telerik.com/kendo-ui/knowledge-base/check-nodes-programmatically, and tried to this properties.
var treeview = $("#tree").data("kendoTreeView");
var bar = treeview.findByText("Bar");
treeview.dataItem(bar).set("checked", true);
But, 'menuAuth.js:299 Uncaught TypeError: Cannot read properties of undefined (reading 'findByText')' was printed on the console.
also, parent cannot be read.
'menuAuth.js:301 Uncaught TypeError: Cannot read properties of undefined (reading 'parent')' is printed on console too.
I really need to make parent node selection.
please let me know how can I use this things.
Thanks,
Jieun
Hi Jieun,
The example shared works as expected and I don't see any errors in the console. Could you please share a Dojo demo where the problem is replicated so I can investigate?
Regards,
Nikolay