The eventMoveHandling property (string) specifies how the monthly calendar component handles drag-and-drop event moving.
DayPilot.Month.eventMoveHandling"Disabled" - event moving is not allowed.
"Update" - updates the event position on the client side.
"PostBack" - fires the server-side EventMove action using PostBack (ASP.NET WebForms only).
"CallBack" - fires the server-side EventMove action using CallBack (ASP.NET WebForms, ASP.NET MVC, and Java versions only).
"JavaScript" - in DayPilot.Month.api = 1 mode, fires DayPilot.Month.onEventMove.
"Notify" - updates the event position on the client side and fires the server-side EventMove action (ASP.NET WebForms, ASP.NET MVC, and Java versions only).
"Update"Set "Disabled" to turn off drag-and-drop moving.
The legacy "JavaScript" mode works with DayPilot.Month.api set to 1 and fires DayPilot.Month.onEventMove.
JavaScript
const month = new DayPilot.Month("dp", {
eventMoveHandling: "Disabled",
// ...
});
month.init();Event Moving [doc.daypilot.org]