sets mode for the Timeline view
webix.ui({
view: "scheduler",
url: "https://docs.webix.com/calendar-backend/",
timeline: true, // must be enabled
timelineMode: "month" });
This property requires timeline to be enabled. The timeline view displays only one timespan specified in the timelineMode property. It means that if the mode is "month", timeline will show events for a month, etc.
As it is a reactive property you can acess and alter it via the component state:
$$("scheduler1").getState().timelineMode = "month";