gibt eine Aufgabe basierend auf ihrem globalen Aufgabenindex zurück
index | number | string | die Position der Aufgabe in der gesamten Aufgabenliste (beginnend bei null) |
Task | das Aufgabenobjekt, das dem angegebenen Index entspricht |
const globalTaskIndex = gantt.getGlobalTaskIndex(19); // -> 10
const task = gantt.getTaskByIndex(10);
// -> {id:"19", text:"Task name", type:"project", order:"10", progress:0.4, …}