The infiniteScrollingMargin property (number) specifies the active margin of the Scheduler grid in pixels.
DayPilot.Scheduler.infiniteScrollingMargin50When the viewport reaches the margin, the Scheduler loads an additional date range specified using the infiniteScrollingStepDays property.
JavaScript
const dp = new DayPilot.Scheduler("dp", {
infiniteScrollingEnabled: true,
infiniteScrollingMargin: 20,
// ...
});
dp.init();Angular
<daypilot-scheduler [config]="config"></daypilot-scheduler>config: DayPilot.SchedulerConfig = {
infiniteScrollingEnabled: true,
infiniteScrollingMargin: 20,
// ...
};React
<DayPilotScheduler
infiniteScrollingEnabled={true}
infiniteScrollingMargin={20}
{/* ... */}
/>Vue
<DayPilotScheduler
:infiniteScrollingEnabled="true"
:infiniteScrollingMargin="20"
<!-- ... -->
/>DayPilot.Scheduler.infiniteScrollingEnabled