extjs - how many children do you have a node I selected? -


i've been looking have not located anything, , can know how many children have node selected?

greetings , thank you....

i suppose working treestore right?

if so, according doc on nodeinterface can use attribute childnodes , use array.

so childnodes.length.

just note, careful if use lazy loading, childnodes might empty if it's not loaded already.


Comments

Popular posts from this blog

Unlimited choices in BASH case statement -

Redirect to a HTTPS version using .htaccess -

javascript - jQuery: Add class depending on URL in the best way -