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>";
};
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.