DayPilot.Scheduler.onEventMoveStart

The onEventMoveStart event handler is called by the JavaScript Scheduler when the user starts dragging an event during event moving.

Available since 2025.4.6723.

Declaration

DayPilot.Scheduler.onEventMoveStart(args)

Parameters

  • args.ctrl - Ctrl key pressed (boolean)

  • args.shift - Shift key pressed (boolean)

  • args.meta - Meta key pressed (boolean)

  • args.alt - Alt key pressed (boolean)

  • args.areaData - value of the data property of the active area that was used as a drag handle

  • args.e - event object (DayPilot.Event object)

  • args.external - true if the event comes from an external source

  • args.multimove - an array of all events being moved during multi-moving (and their new positions)

Moving multiple events

The args.multimove array items have the following structure:

The args.multimove array includes the main event as well (args.e). It’s stored at the first position, as args.multimove[0].