isSplitTask

checks whether the specified task is split

boolean isSplitTask(object task);

Parameters

taskobjectthe object of a task

Returns

booleantrue, if the task is split, false otherwise

Available only in PRO Edition

Example

var 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