본문으로 건너뛰기

templates

Description

간트 차트에서 날짜, 제목, 툴팁의 포맷 템플릿을 정의합니다

templates: GanttTemplates

Example

//테이블의 'Start Time' 열에서 날짜 형식을 지정합니다
gantt.templates.date_grid = function(date){
return gantt.date.str_to_date(gantt.config.date_grid);
};

Details

templates 객체의 속성은 루트 API 페이지의 별도 챕터인 "Gantt API: Templates"에서 설명됩니다.

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.