The dynamicEventRenderingCacheSweeping property (boolean) enables sweeping of the event cache used by progressive event rendering.
Declaration
DayPilot.Scheduler.dynamicEventRenderingCacheSweepingDefault Value
trueNotes
The cache contains DOM elements for events outside the current viewport.
Events rendered during scrolling remain in the DOM by default.
When sweeping is enabled, the cache size is limited by DayPilot.Scheduler.dynamicEventRenderingCacheSize.
Examples
JavaScript
const dp = new DayPilot.Scheduler("dp", {
dynamicEventRenderingCacheSweeping: false,
// ...
});
dp.init();Angular
<daypilot-scheduler [config]="config"></daypilot-scheduler>config: DayPilot.SchedulerConfig = {
dynamicEventRenderingCacheSweeping: false,
// ...
};React
<DayPilotScheduler
dynamicEventRenderingCacheSweeping={false}
{/* ... */}
/>Vue
<DayPilotScheduler
:dynamicEventRenderingCacheSweeping="false"
<!-- ... -->
/>See Also
DayPilot.Scheduler.dynamicEventRenderingCacheSize
Progressive Event Rendering [doc.daypilot.org]
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot