Skip to main content

grid_indent

Description

Specifies the indent of the child items in a branch (in the tree column)

grid_indent: (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_indent = function(item) {
return "<div className='gantt_tree_indent'></div>";
};