fires when the user starts the drag/resize operation (version 2.1+)
id | string | the event's id |
mode | string | the dragging mode: "move","resize" or "create" |
e | Event | a native event object |
boolean | defines whether the default action of the event will be triggered (true) or canceled (false) |
scheduler.attachEvent("onBeforeDrag", function (id, mode, e){
//any custom logic here
return true;
});
The event fires when the user clicks inside the scheduler on the element that can be dragged.
For the "create" mode, the id value is not provided ( a new event is not created yet ).
Back to top