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

grid_file

Description

Определяет иконку для дочерних элементов в колонке дерева

grid_file: (task: Task) => string;

Parameters

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

Returns

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

Example

gantt.templates.grid_file = function(item) {
return "<div className='gantt_tree_icon gantt_file'></div>";
};