[Users] How to programmatically change the gx_overlayrcontainers text string in the tree

Robert Buckley robertdbuckley at yahoo.com
Thu Mar 15 14:30:42 CET 2012


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20120315/f578f64f/attachment.htm 


More information about the Users mailing list