The eventMoveHandling property (string) specifies how the JavaScript Scheduler component handles drag-and-drop event moving.
Declaration
DayPilot.Scheduler.eventMoveHandlingPossible 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"- firesEventMoveusing PostBack. ASP.NET WebForms only."CallBack"- firesEventMoveusing 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 firesEventMove. 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
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot