onBeforeClose

fires the moment you attempt to close the tree branch

void onBeforeClose(id id);
ididID of the closed item

Example

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

See also
Back to top