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

android - net_scheduler holding wakelock -

sql - MySQL : Getting Entries from a many-to-many table -

java - Retrieving data from database using jsp (Hibernate + Spring + Maven) -