跳到主要内容

auto_scheduling_project_constraint

信息

此功能仅在 PRO 版本中可用。

警告

该属性在 v9.1 已被弃用,请改用 gantt.config.auto_schedulingproject_constraint 属性。

Description

定义任务是否应从其父项目继承约束类型

auto_scheduling_project_constraint: boolean

Example

gantt.config.auto_scheduling_project_constraint = true;

默认值: false

Details

注释

该配置在 auto_scheduling 扩展中定义,因此需要激活 auto_scheduling 插件。有关详细信息,请参阅 Auto Scheduling 文章。

默认情况下,父项目的约束类型不会影响其嵌套任务的约束类型。

如果将配置设置为 true,则子任务(不包括具有自己约束类型的任务)将具有与父项目相同的约束类型(例如,finish no later than)。

Change log

  • 该属性在 v9.1 已弃用
  • 在 v8.0 新增
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.