The infiniteScrollingStepDays property (number) specifies the number of days loaded when the active grid margin (infiniteScrollingMargin) is reached during infinite scrolling.

Declaration

DayPilot.Scheduler.infiniteScrollingStepDays

Default Value

30

This setting applies to manual infinite scrolling (infiniteScrollingEnabled: true). With infiniteScrollingEnabled: "Auto", the Scheduler chooses the value automatically, so you do not need to configure it.

Manual Infinite Scrolling

When infiniteScrollingEnabled: true, infiniteScrollingStepDays must be a finite number greater than zero. Invalid settings raise an error. See Infinite Scrolling for configuration guidance.

Examples

JavaScript

const dp = new DayPilot.Scheduler("dp", {
  infiniteScrollingEnabled: true,
  infiniteScrollingStepDays: 20,
  // ...
});
dp.init();

Angular

<daypilot-scheduler [config]="config"></daypilot-scheduler>
config: DayPilot.SchedulerConfig = {
  infiniteScrollingEnabled: true,
  infiniteScrollingStepDays: 20,
  // ...
};

React

<DayPilotScheduler
  infiniteScrollingEnabled={true}
  infiniteScrollingStepDays={20}
/>

Vue

<DayPilotScheduler
  :infiniteScrollingEnabled="true"
  :infiniteScrollingStepDays="20"
/>

See Also

DayPilot.Scheduler.infiniteScrollingEnabled

DayPilot.Scheduler.infiniteScrollingMargin

DayPilot.Scheduler Class

Availability

Availability of this API item in DayPilot editions:

ProductLitePro
DayPilot for JavaScript