Hi list, I'm trying to put a baseLayerContainer in a Treepanel rendered in the viewport. At this time is working but it shows a checkbox instead of the radio button.<br>Here follows part of my code:<br><br><i>var layerReader = new GeoExt.data.LayerReader();<br>
var mapLayers = layerReader.readRecords(map.layers);<br><br>var layerStore = new GeoExt.data.LayerStore({<br> map: map,<br> layers: mapLayers<br>});<br><br>var layerContainer = new GeoExt.tree.BaseLayerContainer({<br>
layerStore: layerStore,<br> expanded: true<br>});</i><br><br>and in the viewport:<br><br><i>{<br> region: 'west',<br> contentEl: 'west',<br> width: 150,<br> margins: '0 0 0 0',<br>
items: [{<br> xtype: 'treepanel',<br> border: false,<br> animate: true,<br> root: layerContainer<br> }</i><br><br>Is there something wrong?<br>
<br>Thamks in advance<br>