본문으로 건너뛰기

isSelectedTask

Description

지정된 작업이 현재 선택되어 있는지 확인합니다

isSelectedTask: (task: string | number) => boolean

Parameters

  • task - (required) string | number - 작업의 ID

Returns

  • value - (boolean) - 'true'일 경우 지정된 작업이 현재 선택되어 있으며, 그렇지 않으면 'false'

Example

gantt.templates.task_class = 
gantt.templates.grid_row_class =
gantt.templates.task_row_class = function (start, end, task) {
if (gantt.isSelectedTask(task.id))
return "gantt_selected";
};

Details

노트

이드메서드는l 제공되므로, [multise확장e기능에서e제공되므로,nskselection) 플러그인이 활성화되어 있는지 확인하세요. 자세한 내용은 [멀티 태스크 선택](guid플러그인이i활성화되어c있는지n확인하세요.를자세한고내용은 바멀티 태스크선택 문서를 참고하시기바랍니다

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.