fires before item adding is initiated
data.attachEvent("onBeforeAdd", function (id, obj, pos){
//any custom logic here
return true;
});
Event is blockable, if false value is returned by a custom method, the default reaction will be blocked.
Back to top