The eventResizeHandling property (string) specifies how the DayPilot.Scheduler.onEventResize event is handled by the JavaScript Scheduler component.
DayPilot.Scheduler.eventResizeHandling"Disabled" - event resizing is not allowed.
"Update" - updates the event position on the client side.
"PostBack" - fires the server-side EventResize action using PostBack (ASP.NET WebForms only).
"CallBack" - fires the server-side EventResize action using CallBack (ASP.NET WebForms, ASP.NET MVC, and Java versions only).
"JavaScript" - in DayPilot.Scheduler.api = 1 mode, it fires DayPilot.Scheduler.onEventResize.
"Notify" - updates the event position on the client side and fires the server-side EventResize action (ASP.NET WebForms, ASP.NET MVC, and Java versions only).
"Update"Set "Disabled" to prevent drag-and-drop resizing. Use "JavaScript" with DayPilot.Scheduler.api = 1 when you want DayPilot.Scheduler.onEventResize to handle the resize on the client side.
JavaScript
const dp = new DayPilot.Scheduler("dp", {
eventResizeHandling: "Disabled",
// ...
});
dp.init();Angular
<daypilot-scheduler [config]="config"></daypilot-scheduler>config: DayPilot.SchedulerConfig = {
eventResizeHandling: "Disabled",
// ...
};React
<DayPilotScheduler
eventResizeHandling="Disabled"
{/* ... */}
/>Vue
<DayPilotScheduler
eventResizeHandling="Disabled"
<!-- ... -->
/>