defines the current view of Gantt
webix.ui({
view: "resources",
url: "https://docs.webix.com/gantt-backend/",
resources: true, // must be enabled!
// show resources view
display: "resources",
});
By default Gantt displays tasks in tree and chart. To switch Gantt to the Resources View, set the property to "resources". Note that this property requires resources to be enabled.
As it is a reactive property you can also access and alter it via the widget state:
// switch to the resources view
$$("myGantt").getState().display = "resources";