getTaskByWBSCode

returns a task by its WBS code

object getTaskByWBSCode(string code);

Parameters

codestringthe WBS code of the task

Returns

objecta task object

Example

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

See also
Back to top