The progressiveTaskRenderingCacheSize property (number) specifies how many recently rendered task boxes will be kept in the DOM when DayPilot.Gantt.progressiveTaskRenderingCacheSweeping is enabled.
Declaration
DayPilot.Gantt.progressiveTaskRenderingCacheSizeDefault Value
200Notes
Tasks inside the Gantt viewport plus DayPilot.Gantt.progressiveTaskRenderingMargin are not included in this limit and are always kept in the DOM.
The oldest task boxes are removed first.
Examples
JavaScript
const gantt = new DayPilot.Gantt("dp", {
progressiveTaskRenderingCacheSweeping: true,
progressiveTaskRenderingCacheSize: 500,
// ...
});
gantt.init();Angular
<daypilot-gantt [config]="config"></daypilot-gantt>config: DayPilot.GanttConfig = {
progressiveTaskRenderingCacheSweeping: true,
progressiveTaskRenderingCacheSize: 500,
// ...
};React
<DayPilotGantt
progressiveTaskRenderingCacheSweeping={true}
progressiveTaskRenderingCacheSize={500}
{/* ... */}
/>Vue
<DayPilotGantt
:progressiveTaskRenderingCacheSweeping="true"
:progressiveTaskRenderingCacheSize="500"
<!-- ... -->
/>See Also
DayPilot.Gantt.progressiveTaskRenderingCacheSweeping
DayPilot.Gantt.progressiveTaskRenderingMargin
DayPilot.Gantt.progressiveTaskRendering
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot