跳到主要内容

grid_indent

Description

控制树形列中分支内子项的缩进

grid_indent: (task: Task) => string;

Parameters

  • task - (required) Task - 任务对象

Returns

  • text - (string) - 将在 gantt 中显示的 html 文本

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.