PDA

View Full Version : Get Root (with children) TreePanel



DeathPhoenix
10 Feb 2010, 10:42 AM
Hi,

how can I get the root node children after the tree was loaded.

PS : I'm manually reloading the loader root. So I can't use the load event (it's not called).

Eugen_
10 Feb 2010, 10:54 AM
var rootNode = yourTreePanel.root;
rootNode.eachChild(function(node) { ... });

DeathPhoenix
10 Feb 2010, 10:59 AM
Thanks this work.