The progressiveTaskRenderingCacheSweeping property (boolean) controls whether already rendered task boxes outside the Gantt viewport plus buffer are removed from the DOM.
Declaration
DayPilot.Gantt.progressiveTaskRenderingCacheSweepingDefault Value
falseNotes
The buffer area is defined by DayPilot.Gantt.progressiveTaskRenderingMargin.
Use DayPilot.Gantt.progressiveTaskRenderingCacheSize to limit how many previously rendered task boxes are retained when sweeping is enabled.
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.progressiveTaskRenderingCacheSize
DayPilot.Gantt.progressiveTaskRenderingMargin
DayPilot.Gantt.progressiveTaskRendering
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot