The eventMoveHandling property (string) specifies how the JavaScript Scheduler component handles drag-and-drop event moving.
DayPilot.Scheduler.eventMoveHandling"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.
"Update"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"
<!-- ... -->
/>Event Moving [doc.daypilot.org]
DayPilot.Scheduler.onEventMove