Skip to main content

auto_scheduling_move_projects

info

This functionality is available in the PRO edition only.

warning

The property has been deprecated in v9.1, use the move_projects property of gantt.config.auto_scheduling instead.

Description

Defines whether the whole project will be moved (see the details below)

auto_scheduling_move_projects: boolean

Example

gantt.config.auto_scheduling_move_projects = true;

gantt.init("gantt_here");

Default value: true

Details

note

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.

By default (when the property is set to true), the whole project is moved during auto scheduling. It means that all tasks in the project remain on their places relative to each other and the beginning of the project.

moving_project_true

If the auto_scheduling_move_projects is set to false, auto scheduling will move separate tasks inside of the project. Thus, some tasks will be moved, others will remain on their places.

moving_project_false

note

if you use constraint scheduling (gantt.config.auto_scheduling_compatibility = false), the auto_scheduling_move_projects config will be active only when the strict mode is disabled:

gantt.config.auto_scheduling_compatibility = false;
gantt.config.auto_scheduling_strict = false;

Change log

  • the property has been deprecated in v9.1
  • added in version 4.1