DayPilot.Scheduler.eventUpdateInplaceOptimization

The eventUpdateInplaceOptimization property (boolean) enables a faster event update mode in the JavaScript Scheduler. When enabled, the Scheduler updates only the changed event if the change does not affect other events in the same row or other rows; otherwise the whole row is updated.

Declaration

DayPilot.Scheduler.eventUpdateInplaceOptimization

Default Value

false

Notes

This optimization applies during DayPilot.Scheduler.events.add(), DayPilot.Scheduler.events.update(), and DayPilot.Scheduler.events.remove() calls.

Examples

JavaScript

const dp = new DayPilot.Scheduler("dp", {
  eventUpdateInplaceOptimization: true,
  // ...
});
dp.init();

Angular

<daypilot-scheduler [config]="config"></daypilot-scheduler>
config: DayPilot.SchedulerConfig = {
  eventUpdateInplaceOptimization: true,
  // ...
};

React

<DayPilotScheduler
  eventUpdateInplaceOptimization={true}
  {/* ... */}
/>

Vue

<DayPilotScheduler
  :eventUpdateInplaceOptimization="true"
  <!-- ... -->
/>

See Also

DayPilot.Scheduler.events.add()

DayPilot.Scheduler.events.update()

DayPilot.Scheduler.events.remove()

DayPilot.Scheduler Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript