auto_scheduling_strict
信息
此功能仅在 PRO 版本中可用。
警告
属性在 v9.1 中已被弃用,请改用 gantt.config.auto_scheduling 的 gap_behavior 属性。
Description
启用自动排程模式,在该模式 下,任务将始终被重新排程到最早可用日期
auto_scheduling_strict: boolean
Example
gantt.config.auto_scheduling_strict = true;
gantt.init("gantt_here");
默认值: false
Related samples
Details
注释
此配置在 auto_scheduling 扩展中定义,因此您需要激活 auto_scheduling 插件。请在 Auto Scheduling 文章中阅读详细信息。
请注意,在版本 6.1.0 - 7.1.3 中,只有在启用 auto_scheduling_compatibility 选项时,此配置才起作用。
默认情况下,当新日期违反约束时,任务才会重新排程。
Related API
- auto_scheduling
- auto_scheduling_descendant_links
- auto_scheduling_initial
- auto_scheduling_move_projects
- auto_scheduling_project_constraint
- auto_scheduling_use_progress
- findCycles
- isCircularLink
- onAfterAutoSchedule
- onAfterTaskAutoSchedule
- onBeforeAutoSchedule
- onBeforeTaskAutoSchedule
- onCircularLinkError
- onAutoScheduleCircularLink
Related Guides
Change log
- 该属性在 v9.1 中已被弃用
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.