Zum Hauptinhalt springen

isSplitTask

Info

Diese Funktionalität ist nur in der PRO-Edition verfügbar.

Description

Prüft, ob die angegebene Aufgabe aufgeteilt ist

isSplitTask: (task: Task) => boolean

Parameters

  • task - (erforderlich) Task - das Objekt einer Aufgabe

Returns

  • isSplit - (boolean) - true, falls die Aufgabe aufgeteilt ist, andernfalls false

Example

const task = gantt.getTask(13);
// */} { id: 13, render:"split", text: "Task #2", ...}

if(gantt.isSplitTask(task)){
// do something
}
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.