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