isSummaryTask

checks whether the specified task is summary

boolean isSummaryTask(Task task);
taskTaskthe object of a task
booleantrue, if the task is summary. Otherwise, false

Available only in PRO Edition

Example

const task = gantt.getTask(10);
gantt.isSummaryTask(task); // ->false

Details

The method works only in the PRO version, since the possibility to specify the type of a task is available in that version only. Otherwise, the method will return false.

See also
  • Articles
  • Back to top