본문으로 건너뛰기

grid_folder

설명

트리 열의 상위 아이콘을 지정합니다

grid_folder: (task: Task) => string;

매개변수

  • task - (필수) Task - 태스크 객체

반환값

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

예제

gantt.templates.grid_folder = function(item) {
return `<div
className='gantt_tree_icon gantt_folder_${(item.$open ? "open" : "closed")}'>
</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.