leftside_text

작업 막대의 왼쪽에 표시되는 텍스트를 정의합니다.

startDate작업이 시작될 예정인 날짜
endDate작업이 완료될 것으로 예상되는 날짜
taskTask작업 객체 자체

Example

const formatter = gantt.ext.formatters.durationFormatter({
    format: ["day"]
});
 
gantt.templates.leftside_text = function(start, end, task){
    return formatter.format(task.duration);
};

Related samples

See also
Back to top