scrolls the Gantt container to the specified position
x | number | null | optional, the value of the horizontal scroll or 'null' (if the scroll position shouldn't be changed) |
y | number | null | optional, the value of the vertical scroll or 'null' (if the scroll position shouldn't be changed) |
gantt.scrollTo(30, 80); // scrolls container both horizontally and vertically
gantt.scrollTo(30, null); // scrolls container only horizontally
gantt.scrollTo(null, 80); // scrolls container only vertically