Please, let me know in what way we can programmatically know if node in kendo treeview structure has childrens ?
Need to apply corresponding class for nodes which has children...
Thank you !
Please, let me know in what way we can programmatically know if node in kendo treeview structure has childrens ?
Need to apply corresponding class for nodes which has children...
Thank you !
Look at this demo. They use ngClass
in the node template to set the icon displayed on the node.
You can also check if a node has children by using the hasChildren(item)
method of the TreeView.