getTaskByWBSCode

returns a task by its WBS code

Task getTaskByWBSCode(string code);
codestringthe WBS code of the task
Taska task object

Example

const task = gantt.getTaskByWBSCode("1.2");
// => {id:"t1", text:"Task #1, unscheduled: true, duration: 1, …}

Related samples

See also
Back to top