[Users] How to get node from asynctreenode

Matt Priour mpriour at kestrelcomputer.com
Tue Apr 12 16:17:45 CEST 2011


Try:
....
 

var foo = Ext.getCmp('lyrsTree'); //gets the tree panel

var foo2 = foo.getNodeById('tpnOrto'); //uses the tree panel to get the node of interest



--or--



var foo = Ext.getCmp('lyrsTree').root; //gets the root node

var foo2 = foo.findChild('id','tpnOrto',true); //uses the root node to get the node of interest



Matt Priour

Kestrel Computer Consulting

 

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20110412/3e2d7233/attachment.htm 


More information about the Users mailing list