DayPilot.Scheduler.scrollX

The scrollX property (number) specifies the initial horizontal scrollbar position in pixels.

Declaration

DayPilot.Scheduler.scrollX

Default Value

0

Notes

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

Example

const dp = new DayPilot.Scheduler("dp");
dp.scrollX = dp.cellWidth * 10;
dp.init();

See Also

DayPilot.Scheduler.setScrollX()

DayPilot.Scheduler.getScrollX()

DayPilot.Scheduler Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript