DayPilot.Scheduler.eventMoveHandling

The eventMoveHandling property (string) specifies how the JavaScript Scheduler component handles drag-and-drop event moving.

Declaration

DayPilot.Scheduler.eventMoveHandling

Possible Values

  • "Disabled" - event moving is not allowed.

  • "Update" - the event position is updated automatically on drop, after onEventMove and before onEventMoved.

Additional legacy values apply to DayPilot versions with an integrated server-side part (ASP.NET WebForms, ASP.NET MVC, Java):

  • "PostBack" - fires EventMove using PostBack. ASP.NET WebForms only.

  • "CallBack" - fires EventMove using CallBack. ASP.NET WebForms, ASP.NET MVC, and Java versions only.

  • "JavaScript" - api=1; fires onEventMove.

  • "Notify" - updates the event position on the client side and fires EventMove. ASP.NET WebForms, ASP.NET MVC, and Java versions only.

Default Value

"Update"

Examples

JavaScript

const dp = new DayPilot.Scheduler("dp", {
  eventMoveHandling: "Disabled",
  // ...
});
dp.init();

Angular

<daypilot-scheduler [config]="config"></daypilot-scheduler>
config: DayPilot.SchedulerConfig = {
  eventMoveHandling: "Disabled",
  // ...
};

React

<DayPilotScheduler
  eventMoveHandling="Disabled"
  {/* ... */}
/>

Vue

<DayPilotScheduler
  eventMoveHandling="Disabled"
  <!-- ... -->
/>

See Also

Event Moving [doc.daypilot.org]

DayPilot.Scheduler.onEventMove

DayPilot.Scheduler.onEventMoved

DayPilot.Scheduler Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript