I have a Kendo UI treeview bound to remote data; however, while top level items are showing, and the arrow indicates there are children items, clicking the arrow does nothing but spin--no expansion to show child nodes. Any help would be appreciated.
My code looks like this:
var industryTree = new kendo.data.HierarchicalDataSource({
transport: {
read: {
url: 'http://'+document.domain+'/services/TreeIndustries.php',
dataType: "json"
},
schema: {
model: {
id:"id"
}
}
}
});
My tree init:
var industryTreeView=$("#industry-tree").kendoTreeView({
dataSource: industryTree,
dataTextField: ["text","text"]
});
The JSON returned validates correctly; anyone wanting a look can check it out here:
http://173.45.233.104/services/TreeIndustries.php