fires before item deleting
id | id | id of item in question |
boolean | returning false will prevent item deleting |
some.attachEvent("onBeforeDelete", function(id){
//... some code here ...
//return false to block operation
return true;
});
In case of Tree and TreeTable - event will be called only for item which is deleted, and will not be called for its childs