Hi,

I try to custom the NodeUI of my layerTreePanel...
I have a subclass : 

MyNs.LayerNodeUI = Ext.extend(GeoExt.tree.LayerNodeUI

But i can't find the way to affect this UI to the Node..
The point is the line :

this.defaultUI = this.defaultUI || GeoExt.tree.LayerNodeUI in the constructor 
of GeoExt.tree.TreeNode, 

i would like to have MyNs.LayerNodeUI in this.defaultUI but couldn't fix the 
thing..

this is how i instanciate my Tree : 

this.root = new GeoExt.tree.OverlayLayerContainer({
 layerStore: this.mapPanel.layers,
 leaf: false,
 expanded: true,
 cls: 'layerTree',
});

i tried things like this :
default: {
    uiProvider: MyNs.TreeNode,
    ui: MyNs.TreeNode,
    defaultUI: MyNs.TreeNode
}

but those arguments are'nt passed on the call of createNode()
do you have any idea ?

thks
_______________________________________________
Users mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/users

Reply via email to