The progressiveTaskRenderingMargin property (number) specifies the size of the buffer, in pixels, beyond the Gantt viewport where task boxes will be rendered.
Declaration
DayPilot.Gantt.progressiveTaskRenderingMarginDefault Value
50Notes
This margin extends the rendered area beyond the visible viewport.
Tasks inside the viewport plus this margin are always kept in the DOM, even when DayPilot.Gantt.progressiveTaskRenderingCacheSweeping is enabled.
Examples
JavaScript
const gantt = new DayPilot.Gantt("dp", {
progressiveTaskRenderingMargin: 200,
// ...
});
gantt.init();Angular
<daypilot-gantt [config]="config"></daypilot-gantt>config: DayPilot.GanttConfig = {
progressiveTaskRenderingMargin: 200,
// ...
};React
<DayPilotGantt
progressiveTaskRenderingMargin={200}
{/* ... */}
/>Vue
<DayPilotGantt
:progressiveTaskRenderingMargin="200"
<!-- ... -->
/>See Also
DayPilot.Gantt.progressiveTaskRendering
DayPilot.Gantt.progressiveTaskRenderingCacheSweeping
DayPilot.Gantt.progressiveTaskRenderingCacheSize
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot