A mixin that adds events to TreeNodeUIs. With these events, tree plugins can modify the node ui’s DOM when it is rendered, and react to raw click events on tree nodes.
Sample code to create a tree with a node that uses the GeoExt.tree.TreeNodeUIEventMixin:
var UIClass = Ext.extend(
Ext.tree.TreeNodeUI,
GeoExt.tree.TreeNodeUIEventMixin
);
var tree = new Ext.tree.TreePanel({
root: {
nodeType: "node",
uiProvider: UIClass,
text: "My Node"
}
}
Events.
Fires on the tree when a node is clicked.
Listener arguments:
Fires on the tree when a node is rendered.
Listener arguments: