isSplitTask

checks whether the specified task is split

boolean isSplitTask(Task task);
taskTaskthe object of a task
booleantrue, if the task is split, false otherwise

Available only in PRO Edition

Example

const task = gantt.getTask(13);
// --> { id: 13, render:"split", text: "Task #2", ...}
 
if(gantt.isSplitTask(task)){
  // do something
}

Details

This functionality is available in the PRO edition only.

See also
  • Articles
  • Back to top