Skip to main content

auto_scheduling_project_constraint

info

This functionality is available in the PRO edition only.

warning

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

Description

Defines whether tasks should inherit the constraint type from their parent project

auto_scheduling_project_constraint: boolean

Example

gantt.config.auto_scheduling_project_constraint = true;

Default value: false

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, the constraint type of the parent project doesn't affect the constraint type of its nested tasks.

If you set the config to true, the child tasks (except for tasks with their own constraint type) will have the same constraint type as their parent project (for example, finish no later than).

Change log

  • the property has been deprecated in v9.1
  • added in v8.0