The getScrollX() method returns the current horizontal scrollbar position in pixels.
DayPilot.Scheduler.getScrollX()Returns the horizontal (X axis) scrollbar position in pixels as a number.
const scrollX = dp.getScrollX();DayPilot.Scheduler.setScrollX()
DayPilot.Scheduler.getScrollY()
DayPilot.Scheduler.setScroll()
Scrollbar Position [doc.daypilot.org]