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
If you have not checked yet, be sure to visit site of our main product Webix javascript website framework and page of javascript tree data structure product.