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