Number of childs in a tree

Hi,



how to know the number of childs in a tree? Can i use the _pullSize property of the tree ?



thanks


There is no any ready to use property with such info.
You can try to use
var count = tree.getAllSubItems(0).split(",").length;



thanks, i’ll try it