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

 

 
_______________________________________________
Users mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/users

Reply via email to