[Users] WG: How to programmatically change the gx_overlayrcontainers text string in the tree:SOLVED
Robert Buckley
robertdbuckley at yahoo.com
Fri Mar 16 10:08:16 CET 2012
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 <robertdbuckley at yahoo.com>
An: "users at geoext.org" <users at 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 at geoext.org
http://www.geoext.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20120316/c605ab4f/attachment-0001.htm
More information about the Users
mailing list