跳到主要内容

resetProjectDates

信息

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

Description

根据子任务的日期重新计算项目任务的持续时间

resetProjectDates: (task: Task) => void

Parameters

  • task - (required) Task - 任务对象

Example

gantt.resetProjectDates(gantt.getTask(3));

Details

此方法根据子任务的日期更新给定任务对象的start_dateend_dateduration属性。

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.