Hello.
I modifed an example from demo. To add one child node to selected node.
https://dojo.telerik.com/uhUnukOJ/3
Left side is copy from demo, right side other simple version.
Right side add only to the root. And left side works strange.
Second. I have config a hierarhicalDataSource
var treeData = new kendo.data.HierarchicalDataSource({
transport: {
read: {
url: "api/ui/UIData/folders",
contentType: "application/json",
dataType: "json",
data:
{
id_hierarchy: 1
}
} ,
requestEnd: function (e)
{
//check the "response" argument to skip the local operations
console.log(e);
}
}
});
It loads root nodes. But does not show any children nodes after loading. requestEnd does not fire too.