the date you want to scroll the gantt chart to
const date = new Date(2026, 0, 1);
webix.ui({
id: "gantt",
view: "gantt",
url: "https://docs.webix.com/gantt-backend/",
date, // initial date scroll
});
Note that if the date is outside of the start/end dates of the current scale, the chart is scrolled either to the beginning or to the end of the scale.
As it is a reactive property, you can also access and alter it via the widget state:
$$("myGantt").getState().date = new Date(2026, 0, 1);