onBeforeEventDragIn

fires before a dragged event is moved over the scheduler

boolean onBeforeEventDragIn(string id,Event e);
idstringthe event's id
eEventa native event object
booleandefines whether the default action of the event will be triggered (true) or canceled (false)

Example

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