I am using the kendo treeview and need to display a count of the children on the node. How would I do this? I've tried the other solutions such as item.children.view() and item.children.data() but those always return 0. I've also set loadOnDemand to false which has no effect.
1 Answer, 1 is accepted
0
Viktor Tachev
Telerik team
answered on 13 Mar 2026, 12:28 PM
Hi Lee,
Thank you for reaching out to us.
I have answered your question in the other thread, however, I will also add it here for visibility. The sample below uses the dataBound event to iterate through the items and gets the number of children for each parent node. Then appends a badge element with the count: