본문으로 건너뛰기

onAfterTaskAutoSchedule

정보

이 기능은 PRO 에디션에서만 사용할 수 있습니다.

Description

자동 스케줄링된 모든 작업에 대해 트리거됩니다.

onAfterTaskAutoSchedule: (task: Task, start: Date, link: Link, predecessor: Task) => void;

Parameters

  • task - (required) Task - 태스크 객체
  • start - (required) Date - 새로운 시작 날짜
  • link - (required) Link - 제약 조건을 생성하는 링크 객체
  • predecessor - (required) Task - 선행 작업 객체

Example

gantt.attachEvent("onAfterTaskAutoSchedule",function(task, start, link, predecessor){
// 여기에 커스텀 로직 작성
});

Details

노트

이 이벤트는 auto_scheduling 확장에 정의되어 있으므로 auto_scheduling 플러그인을 활성화해야 합니다. 자세한 내용은 Auto Scheduling 문서를 참조하십시오.

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.