Hi Ddarko,
Assuming that you get the TreeView object like so:
var kendoTreeView = $("#TreeView").data("kendoTreeView"),
parent = item.parent().closest(".k-item");
> how to get the "text" of the parent node
kendoTreeView.text(parent);
> how to get a list / array of children for that parent
parent.find("> .k-group > .k-item").map(function() {
return kendoTreeView.text(this);
});
We don't have a kendoTreeView.children(parent) method yet, but we'll consider adding one.
Best wishes,
Alex Gyoshev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework -
download Kendo UI now!