vendredi 21 mars 2014

Load children of node in Treegrid as expanded by default

Dear community,



I am loading the children of a specific node in a TreeGrid using:


Code:



gridStore.load({node: parentNode});


(each child can have children, which means I am actually loading subtrees)





The problem:

Allthough all nodes have properties:

Code:



{..., "leaf":false,"expanded":true,"loaded":true}


the are all collapsed by default, but I want them to be all expanded.



Edit: Just one thing to add, I have to click on the [-] of the loaded node to make it expand.



Any ideas?

Thank you in advance!




Aucun commentaire:

Enregistrer un commentaire