[Users] Additional checkboxes

Mehmet Sirin m.sirin07 at googlemail.com
Tue Jul 27 11:12:31 CEST 2010


Alternatively it would be perfect if I could chose multiple radio
buttons at same time. Do you have an idea?

But even the basics of radio buttons does not work:

        var osm = new GeoExt.tree.LayerContainer({
            text: 'OSM',
            layerStore: mapPanel.layers,
            leaf: false,
            expanded: true,
            nodeType:'gx_overlaylayercontainer',
            loader: {
        	baseAttrs: {
            	radioGroup: "active"
       		 },

                filter: function(record) {
                    return
record.get("layer").name.indexOf("Openstreetmap") !== -1
                }
            }

        });


        var layerTree = new Ext.tree.TreePanel({
            title: 'Layer',
            renderTo: 'layerTree',
            root:{
	             nodeType:'async',
	             children:[osm,layerList],
	             expanded:true,
             },
             loader: new Ext.tree.TreeLoader({
	                applyLoader: false
	              })
        });

No radio buttons are shown..why?


thank you :)
2010/7/27 Mehmet Sirin <m.sirin07 at googlemail.com>:
> Hi,
> I want to have a second checkbox beside the first checkbox for each
> layer. is that possible ? how would you do that?
>
>
> regards
>


More information about the Users mailing list