auto_scheduling

enables auto scheduling

boolean | AutoSchedulingConfig auto_scheduling;

Available only in PRO Edition

Example

gantt.config.auto_scheduling = true;
 
gantt.init("gantt_here");


Default value:

false

Related samples

Details

This functionality is available in the PRO edition only.

This config is defined in the auto_scheduling extension, so you need to activate the auto_scheduling plugin. Read the details in the Auto Scheduling article.

The auto_scheduling config can be set as a boolean or as an object to enable additional control over the auto-scheduling behavior. When set as an object, the following options are available:

  • enabled - (boolean) - turns auto-scheduling on or off (same as using a boolean value directly).
  • show_constraints? - (boolean) - controls the display of task constraints on the Gantt chart. Set to true to display constraints or false to hide them.

For example, to enable auto-scheduling but disable the display of task constraints:

gantt.config.auto_scheduling = {
  enabled: true,
  show_constraints: false
};
gantt.init("gantt_here");
See also
Change log

Can be set as an object since v9.0

Back to top