Перейти к основному содержимому

grid_folder

Description​

Определяет значок родительских элементов в столбце дерева

grid_folder: (task: Task) => string;

Parameters​

  • task - (required) Task - объект задачи

Returns​

  • text - (string) - html-текст, который будет отображаться в диаграмме Ганта

Example​

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.