onBeforeEventDragIn

fires before a dragged event is moved over the scheduler

boolean onBeforeEventDragIn(string id,Event e){ ... };

Parameters

idstringthe event's id
eEventa native event object

Returns

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;
});

Back to top