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

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

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -