getWBSCode

작업의 WBS 코드(개요 번호)를 반환합니다.

string getWBSCode(Task task);
taskTask작업 객체
string간트 차트 내 작업의 WBS 코드

Example

gantt.init("gantt_here");
 
gantt.parse({
 "data":[
  {"id":1, "text":"Project #1", "start_date":"28-03-2013", "duration":"11", 
    "parent":"0", "open": true},
  {"id":2, "text":"Task #1", "start_date":"01-04-2013", "duration":"18", "parent":"1"},
  {"id":3, "text":"Task #2", "start_date":"02-04-2013", "duration":"8", "parent":"1"}
 ],
 "links":[]
});
 
const wbs_code = gantt.getWBSCode(gantt.getTask(3)) // -> "1.2" 반환

Related samples

Details

버전 4.2에 추가됨

See also
Back to top