DayPilot.Queue.onEventMove

This onEventMove event is fired after the user finishes event moving (on drop).

Declaration

DayPilot.Queue.onEventMove(args);

Parameters

  • args.e (DayPilot.Event) - event object 
  • args.external (boolean) - external source status
  • args.position (number) - target vertical position
  • args.source (DayPilot.Queue or DayPilot.Scheduler) - source component
  • args.preventDefault() - cancels the default action

Example

dp.onEventMove = function (args) {
  if (args.external) {
    args.preventDefault();
    dp.message("External drop forbidden");
  }
};