본문으로 건너뛰기

isSummaryTask

정보

이 메서드는 PRO 버전에서만 작동합니다. 작업의 유형을 지정하는 기능은 해당 버전에서만 제공됩니다. 그렇지 않으면 메서드는 false를 반환합니다.

Description

지정된 작업이 요약인지 확인

isSummaryTask: (task: Task) => boolean

Parameters

  • task - (필수) Task - 작업 객체

Returns

  • mode - (boolean) - true, 작업이 요약일 경우. 그렇지 않으면, false

Example

const task = gantt.getTask(10);
gantt.isSummaryTask(task); // ->거짓
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.