The progressiveTaskRenderingCacheSweeping property (boolean) controls whether already rendered task boxes outside the Gantt viewport plus buffer are removed from the DOM.
DayPilot.Gantt.progressiveTaskRenderingCacheSweepingfalseThe 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.
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"
<!-- ... -->
/>DayPilot.Gantt.progressiveTaskRenderingCacheSize
DayPilot.Gantt.progressiveTaskRenderingMargin