Zum Hauptinhalt springen

getTaskByWBSCode

Description

Gibt eine Aufgabe anhand ihres WBS-Codes zurück

getTaskByWBSCode: (code: string) => Task

Parameters

  • code - (required) string - der WBS-Code der Aufgabe

Returns

  • task - (Task) - ein Task-Objekt

Example

const task = gantt.getTaskByWBSCode("1.2");
// => {id:"t1", text:"Task #1, unscheduled: true, duration: 1, …}
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.