The infiniteScrollingEnabled property (boolean | "Auto") enables Scheduler infinite scrolling.
Declaration
DayPilot.Scheduler.infiniteScrollingEnabledDefault Value
falseModes
false(default) disables infinite scrolling.trueuses manual sizing:days,infiniteScrollingStepDaysandinfiniteScrollingMargin."Auto"sizes the timeline buffer, shift distance and edge margin for the current viewport and time scale. Available since version 2026.4.7072.
Auto mode supports generated timelines in left-to-right Resources view with fixed cell widths. It rejects rtl: true, scale: "Manual", cellWidthSpec: "Auto" and viewType: "Days".
In Auto mode, do not use days, infiniteScrollingStepDays, or infiniteScrollingMargin to set or read the automatically chosen range. Use visibleStart() and visibleEnd() for the timeline range, and getViewPort() for the dates and resources currently visible. Auto mode adjusts to changes in the viewport size and time scale.
Use dynamic event loading to supply data for newly visible dates. Auto mode does not implement server requests or application navigation limits.
Examples
JavaScript
const dp = new DayPilot.Scheduler("dp", {
infiniteScrollingEnabled: "Auto",
// ...
});
dp.init();Angular
<daypilot-scheduler [config]="config"></daypilot-scheduler>config: DayPilot.SchedulerConfig = {
infiniteScrollingEnabled: "Auto",
// ...
};React
<DayPilotScheduler
infiniteScrollingEnabled={"Auto"}
/>Vue
<DayPilotScheduler
infiniteScrollingEnabled="Auto"
/>See Also
Scheduler Infinite Scrolling [doc.daypilot.org]
DayPilot.Scheduler.infiniteScrollingMargin
DayPilot.Scheduler.infiniteScrollingStepDays
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot