[Users] How to get node from asynctreenode

Vidal, Antoni antoni.vidal at icc.cat
Mon Apr 11 13:31:45 CEST 2011


Hello list,

 

I would like to get a node from asynctreenode but I only get "undefined" and I can't use disable() function.

 

My code:

 

....

},{

    "nodeType": "gx_layer",

    "id": "toponimOrto",

    "layer": "topoorto",

    "text": "Toponimy"

},{

 

....

var foo = Ext.getCmp('tpnOrto');

console.info(foo);

 

Any suggestion?

 

Thank's in advance.

 

Antoni Vidal

Unitat d'Aplicacions SIG-WEB
Institut Cartogràfic de Catalunya <http://mercuri.icc.cat/website/mob_nf/mob1/mob2/inici2.htm?CONSULTA=Institut%20Cartogr%25E0fic%20de%20Catalunya&XYADDRESS=429486:4580392> 
Parc de Montjuïc, E-08038 Barcelona
Tel. (+34) 93 567 15 00 (ext. 3228)
www.icc.cat <http://www.icc.cat/> 

 

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


More information about the Users mailing list