criticalPath

allows showing critical path

boolean criticalPath;

Example

webix.ui({
  view: "gantt",
  url: "https://docs.webix.com/gantt-backend/",
  criticalPath: true // enable critical path
});


Default value:

false

Related samples

Details

The property allows to enable critical path. If critical path is enabled, the chain of tasks that cannot be delayed will be highlighted. Such tasks are:

  • the ultimate (last) task in Gantt
  • all tasks that are linked with it by the end-to-start link if there are no slacks between them
  • the parent of a critical task.

As it is a reactive property you can also access and alter it via the widget state:

// enable critical path
$$("myGantt").getState().criticalPath = true;
See also
Back to top