본문으로 건너뛰기

task_time

Description

라이트박스의 헤더에 표시될 날짜 기간을 지정합니다

task_time: (start: Date, end: Date, task: Task) => string;

Parameters

  • start - (필수) Date - 작업이 시작될 예정인 날짜
  • end - (필수) Date - 작업이 완료될 예정인 날짜
  • task - (필수) Task - 작업 객체

Returns

  • text - (string) - Gantt 차트에서 렌더링될 HTML 텍스트

Example

gantt.templates.task_time = function(start,end,task){
return gantt.templates.task_date(start)+" - "+gantt.templates.task_end_date(end);
};
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.