<div>Hello ...<br></div>
<div>I´m able to add a radiobutton on sublayers that use nodetype="gx_layer"...</div>
<div>Example:</div>
<div> nodeType: "gx_layer", <br> layer: "layer1",<br> isLeaf: false, <br>
loader: {<br> param: "LAYERS", <br> baseAttrs: {<br> uiProvider: Ext.extend(Ext.tree.TreeNodeUI, {<br>
render: function(bulkRender) { <br> Ext.tree.TreeNodeUI.prototype.render.apply(this, arguments); <br>
var cb = this.checkbox; <br> Ext.DomHelper.insertAfter(cb, ' <input type="radio" class="gx-tree-radio" name="radio"></input>' );<br>
},<br> onClick: function(e) {<br> if(e.getTarget('.gx-tree-radio', 1)) { <br>
alert(this.node.text);<br> }<br> else {<br> Ext.tree.TreeNodeUI.prototype.onClick.apply(this,arguments);<br>
}<br> }<br> })<br> }</div>
<div> </div>
<div>But, and how about nodeType: "gx_layerparam" ? How can I add a radio button to that node?</div>
<div> </div>
<div> nodeType: "gx_layerparam",<br> layer: "Layer1",<br> param: "LAYERS",<br> item: "Layer12",<br>
text: "Test"</div>
<div> </div>
<div>I tried to implement the loader, but it doest work... </div>
<div> </div>
<div>Pail<br><br> </div>