fires right after an item in the tree has become open
id | string|number | the id of the node that will be opened |
state | number | the current open state of the item |
myTree.attachEvent("onOpenEnd", function(id, state){
// your code here
});
The event is also called for "non-closable" nodes and for nodes without the open/close functionality. In that case the function's result will be ignored.
The "state" parameter's values: