The eventResizeHandling property (string) specifies how the monthly calendar component handles drag-and-drop event resizing.
DayPilot.Month.eventResizeHandling"Disabled" - event resizing is not allowed.
"Update" - updates the resized event 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.Month.api = 1 mode, fires DayPilot.Month.onEventResize.
"Notify" - updates the resized event 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 users from resizing events using drag and drop.
The legacy "JavaScript" value works with DayPilot.Month.api set to 1 and fires DayPilot.Month.onEventResize.
JavaScript
const month = new DayPilot.Month("dp", {
eventResizeHandling: "Disabled",
// ...
});
month.init();Angular
<daypilot-month [config]="config"></daypilot-month>config: DayPilot.MonthConfig = {
eventResizeHandling: "Disabled",
// ...
};React
<DayPilotMonth
eventResizeHandling="Disabled"
{/* ... */}
/>Vue
<DayPilotMonth
eventResizeHandling="Disabled"
<!-- ... -->
/>