fires when the event has been changed by drag-n-drop, but the changes aren't saved yet.
ev | object | the event's data object after changes |
e | Event | a native event object |
is_new | boolean | returns 'true', if the user changes a new event. 'false' - if the edited event already exists |
original | object | the event's data object before changes |
boolean | defines whether the default action of the event will be triggered (true) or canceled (false) |
scheduler.attachEvent("onBeforeEventChanged", function(ev, e, is_new, original){
//any custom logic here
return true;
});
The event occurs when a new "event" is added or an existing one is changed by drag-n-drop action.