Betreff: Re: [Users] How to programmatically change the gx_overlayrcontainers 
text string in the tree:SOLVED
 

It was a stupid question....I just had to use 

text: "string"

...in the layer config

yours,
Rob




________________________________
 Von: Robert Buckley <robertdbuck...@yahoo.com>
An: "users@geoext.org" <users@geoext.org> 
Gesendet: 14:30 Donnerstag, 15.März 2012
Betreff: [Users] How to programmatically change the gx_overlayrcontainers text 
string in the tree
 

I´ver tried this...


var treeConfig = [{
        nodeType: "gx_baselayercontainer",
        id: "gx_baselayercontainer",
        hidden:true
    }, {....etc.etc

Ext.get('gx_baselayercontainer').set({text: 'test'}); 


This doesn´t work....cannot call method 'set' of null???

how can I set the text then?


yours with thanks,

Rob






_______________________________________________
Users mailing list
Users@geoext.org
http://www.geoext.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@geoext.org
http://www.geoext.org/cgi-bin/mailman/listinfo/users

Reply via email to