The scrollTo() method sets the horizontal scrollbar position of the Gantt chart to the specified date.
DayPilot.Gantt.scrollTo(date)date (DayPilot.Date or string) - target date; string values must be convertible using the DayPilot.Date constructor
Scroll to the current time.
gantt.scrollTo(new DayPilot.Date());Scroll to January 1, 2035.
gantt.scrollTo("2035-01-01");