isSplitTask
Info
Diese Funktion ist nur in der PRO-Edition verfügbar.
Description
Bestimmt, ob die angegebene Aufgabe eine Split-Task ist
isSplitTask: (task: Task) => boolean
Parameters
task- (required) Task - das zu prüfende Aufgabenobjekt
Returns
isSplit- (boolean) - gibt true zurück, wenn die Aufgabe eine Split-Task ist, sonst false
Example
const task = gantt.getTask(13);
// */} { id: 13, render:"split", text: "Task #2", ...}
if(gantt.isSplitTask(task)){
// do something
}
Related Guides
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.