onEventDropOut

fires when a dragged event is dropped onto the area out of the scheduler

boolean onEventDropOut(string id,object ev,object to,Event e);
idstringthe event's id
evobjectthe event's object
toobjectthe target scheduler(null, if dropped to an empty area)
eEventa native event object
booleandefines whether the default action of the event will be triggered (true) or canceled (false)

Example

scheduler.attachEvent("onEventDropOut", function (id, ev, to, e){
    //any custom logic here
    return true;
});

Details

The event fires only in case of drag-n-drop between schedulers.

See also
Back to top