The initScrollPos property (number) specifies the initial scroll position used when the calendar is initialized.
DayPilot.Calendar.initScrollPos<value>Use this property when the calendar should open at a specific scroll position instead of relying on the default initial view.
JavaScript
const calendar = new DayPilot.Calendar("dp", {
initScrollPos: 120,
// ...
});
calendar.init();Angular
<daypilot-calendar [config]="config"></daypilot-calendar>config: DayPilot.CalendarConfig = {
initScrollPos: 120,
// ...
};React
<DayPilotCalendar
initScrollPos={120}
{/* ... */}
/>Vue
<DayPilotCalendar
:initScrollPos="120"
<!-- ... -->
/>Grid [doc.daypilot.org]