allows showing critical path

boolean criticalPath;


  view: "gantt",
  url: "",
  criticalPath: true // enable critical path

Default value:


Related samples


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