sets a view mode of Report Manager
webix.ui({
view:"reports",
url: "https://docs.webix.com/reports-backend/",
mode: "edit", // open editing form initially
});
The reactive property sets the current view mode. Refreshing is not required as the change will be applied immediately.
You can also access and alter this property via the widget state:
webix.ui({
view: "reports",
url: "https://docs.webix.com/reports-backend/",
mode: "list" // default value
});
$$("myReports").getState().mode = "edit"; // open editing form