본문으로 건너뛰기

correctTaskWorkTime

Description

작업 시간 내에서 작업 지속 시간을 재계산합니다

correctTaskWorkTime: (task: Task) => void

Parameters

  • task - (required) Task - 작업의 객체

Example

gantt.attachEvent("onTaskDrag", function(id, mode, task, original){
gantt.correctTaskWorkTime(task);
});

Details

메서드는 아래 구성 옵션이 필요합니다:

gantt.config.work_time = true;
gantt.config.correct_work_time = true;
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.