onBeforeEventDragOut

fires before the dragged event is moved out of the scheduler

boolean onBeforeEventDragOut(string id,object ev,Event e){ ... };

Parameters

idstringthe event's id
evobjectthe event's data object
eEventa native event object

Returns

booleandefines whether the default action of the event will be triggered (true) or canceled (false)

Example

scheduler.attachEvent("onBeforeEventDragOut", function (id, ev, 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