본문으로 건너뛰기

grid_open

Description

트리 열의 열림/닫힘 기호 아이콘을 지정합니다

grid_open: (task: Task) => string;

Parameters

  • task - (필수) Task - 작업 객체

Returns

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

Example

gantt.templates.grid_open = function(item) {
return "<div className='gantt_tree_icon gantt_" +
(item.$open ? "close" : "open") + "'></div>";
};
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.