toggles report editing and creation
webix.ui({
view: "reports",
readonly: true, // disables report editing and creation
url: "https://docs.webix.com/reports-backend/",
});
The reactive property toggles report creation and editing. Refreshing is not required as the change will be applied immediately.
You can also access and alter this property via the widget state:
// disables report editing and creation
$$("myReports").getState().readonly = true;