fires before item deleting is initiated
id | string|number | the item's id |
data.attachEvent("onBeforeDelete", function (id){
//any custom logic here
return true;
});
the event is blockable, if false value is returned by a custom method, the default reaction (the item's deleting) will be blocked
Back to top