onBeforeClose

fires the moment you attempt to close the tree branch

void onBeforeClose(id id){ ... };

Parameters

ididID of the closed item

Example

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

See also
Back to top