Occurs before item deleting is initiated.
data.attachEvent("onBeforeDelete", function (id){ //any custom logic here return true; });
Parameters:
Description:
Event is blockable, if false value is returned by a custom method, the default reaction will be blocked.