getTaskByWBSCode

根据WBS编码返回对应的任务

Task getTaskByWBSCode(string code);
codestring用于标识任务的WBS编码
Task对应的任务对象

Example

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

Related samples

See also
Back to top