DayPilot.Scheduler.scrollY

The scrollY property (number) specifies the initial vertical scrollbar position in pixels.

Declaration

DayPilot.Scheduler.scrollY

Default Value

0

Notes

Use this property to set the initial vertical scroll position. To change the vertical scrollbar position after initialization, call DayPilot.Scheduler.setScrollY().

Example

const dp = new DayPilot.Scheduler("dp");
dp.scrollY = 20;
dp.init();

See Also

DayPilot.Scheduler.setScrollY()

DayPilot.Scheduler.getScrollY()

DayPilot.Scheduler Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript