DayPilot.Scheduler.dynamicEventRenderingMargin

The dynamicEventRenderingMargin property (number) specifies the size of the buffer, in pixels, rendered beyond the JavaScript Scheduler viewport when progressive event rendering is enabled.

Declaration

DayPilot.Scheduler.dynamicEventRenderingMargin

Default Value

50

Notes

Use DayPilot.Scheduler.dynamicEventRenderingMarginX and DayPilot.Scheduler.dynamicEventRenderingMarginY to override the shared margin separately for horizontal and vertical directions.

Examples

JavaScript

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

Angular

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

React

<DayPilotScheduler
  dynamicEventRenderingMargin={200}
  {/* ... */}
/>

Vue

<DayPilotScheduler
  :dynamicEventRenderingMargin="200"
  <!-- ... -->
/>

See Also

DayPilot.Scheduler.dynamicEventRenderingMarginX

DayPilot.Scheduler.dynamicEventRenderingMarginY

Progressive Event Rendering [doc.daypilot.org]

DayPilot.Scheduler Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript