readonly

toggles task editing and creation

boolean readonly;

Example

webix.ui({
  view: "gantt",
  readonly: true, // disables task editing and creation
  url: "https://docs.webix.com/gantt-backend",
});


Default value:

false
Details

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;
See also
Back to top