onBeforeClose

fires the moment you attempt to close the tree branch

void onBeforeClose(id id);
ididthe ID of the closed item

Example

some.attachEvent("onBeforeClose", function(){
    //... some code here ... 
});

See also
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.