Skip to main content

grid_file

Description

Specifies the icon of child items in the tree column

grid_file: (task: Task) => string;

Parameters

  • task - (required) Task - the task object

Returns

  • text - (string) - html text which will be rendered in the gantt

Example

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