load
Loads the child nodes in the child data source and supplies the id
of the Node
to the request.
Example - load the child nodes
<script>
var dataSource = new kendo.data.HierarchicalDataSource({
transport: {
read: {
url: "https://demos.telerik.com/kendo-ui/service/Employees",
dataType: "jsonp"
}
},
schema: {
model: {
id: "EmployeeId",
hasChildren: "HasEmployees"
}
}
});
dataSource.fetch(function() {
var node = dataSource.at(0);
node.load(); // load the child nodes
});
</script>