The scrollX property (number) specifies the initial horizontal scrollbar position in pixels.
Declaration
DayPilot.Scheduler.scrollXDefault Value
0Notes
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()
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot