The dynamicEventRenderingMarginY property (number) specifies the extra vertical margin, in pixels, that is added above and below the current JavaScript Scheduler viewport during progressive event rendering.
Declaration
DayPilot.Scheduler.dynamicEventRenderingMarginYDefault Value
nullNotes
The Scheduler renders events in the current viewport including this extra margin.
The margin is added in both directions, top and bottom.
If specified, this value overrides dynamicEventRenderingMargin.
Examples
JavaScript
const dp = new DayPilot.Scheduler("dp", {
dynamicEventRenderingMarginY: 200,
// ...
});
dp.init();Angular
<daypilot-scheduler [config]="config"></daypilot-scheduler>config: DayPilot.SchedulerConfig = {
dynamicEventRenderingMarginY: 200,
// ...
};React
<DayPilotScheduler
dynamicEventRenderingMarginY={200}
{/* ... */}
/>Vue
<DayPilotScheduler
:dynamicEventRenderingMarginY="200"
<!-- ... -->
/>See Also
Progressive Event Rendering [doc.daypilot.org]
DayPilot.Scheduler.dynamicEventRenderingMargin
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot