The eventResizeHandling property (string) specifies how the DayPilot.Scheduler.onEventResize event is handled by the JavaScript Scheduler component.
Declaration
DayPilot.Scheduler.eventResizeHandlingPossible Values
"Disabled"- event resizing is not allowed."Update"- updates the event position on the client side."PostBack"- fires the server-sideEventResizeaction using PostBack(ASP.NET WebForms only)."CallBack"- fires the server-sideEventResizeaction using CallBack(ASP.NET WebForms, ASP.NET MVC, and Java versions only)."JavaScript"- in DayPilot.Scheduler.api =1mode, it fires DayPilot.Scheduler.onEventResize."Notify"- updates the event position on the client side and fires the server-sideEventResizeaction(ASP.NET WebForms, ASP.NET MVC, and Java versions only).
Default Value
"Update"Notes
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.
Examples
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"
<!-- ... -->
/>See Also
DayPilot.Scheduler.onEventResize
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot