[Users] How to turn on/off a radio button in a layer tree node programmatically?

程铖 chamme.chane at gmail.com
Wed Mar 20 07:26:14 CET 2013


Hello everyone:

I am learning GeoExt and trying the example "Tree Node", the url of the
example is "http://api.geoext.org/1.1/examples/tree.html".

In the example, the "Overlays" subtree hosted in the Layers panel contains
3 layer nodes each with a check box and a radio button, users can click on
one of radio buttons to activate a layer, and through checking on/off check
boxes, we can turn on/off the display of a layer. These functions are
excellent.

Now the question is, I want to turn on/off a radio button in the treenode
programmatically, also check on/off check boxs programmatically. Could
anyone provide me some hints to achieve the goal? Do I need to examine some
source code of the library?

Thanks,
Chamme
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20130320/c0b07475/attachment.htm 


More information about the Users mailing list