fires when the user tries to create a new event (or modify some existing one) inside of some already occupied time slot
| ev | object | the event object | 
| evs | array | a collection of events' objects which already occupy the same time-slot | 
| boolean | defines whether the default action of the event will be triggered (true) or canceled (false) | 
scheduler.attachEvent("onEventCollision", function (ev, evs){
    //any custom logic here
    return true;
});
The event requires the collision plugin to be activated.
Returning true from the handler function blocks the event from being added/edited. Returning false - allows the collision, i.e. adding/editing events.
Back to top