라이트박스의 헤더를 지정합니다.
start_date | Date | 작업이 시작되기로 예정된 날짜 |
end_date | Date | 작업이 완료되기로 예정된 날짜 |
task | Task | 작업 객체 |
gantt.templates.lightbox_header = function(start_date,end_date,task){
return gantt.templates.task_time(task.start_date, task.end_date, task) + " " +
(gantt.templates.task_text(task.start_date, task.end_date, task) || "").substr(0, 70);
};
이 템플릿이 설정되지 않은 경우, 헤더의 날짜 부분은 task_time 템플릿에서 정의된 형식으로 기본값이 설정됩니다.