The initScrollPos property (number) specifies the initial scroll position used when the calendar is initialized.
Declaration
DayPilot.Calendar.initScrollPosDefault Value
<value>Notes
Use this property when the calendar should open at a specific scroll position instead of relying on the default initial view.
Examples
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"
<!-- ... -->
/>See Also
Grid [doc.daypilot.org]
DayPilot