甘特图 API模板grid_indent页面内容grid_indent Description 控制树形列中分支内子项的缩进 grid_indent: (task: Task) => string;Parameters task - (required) Task - 任务对象 Returns text - (string) - 将在 gantt 中显示的 html 文本 Examplegantt.templates.grid_indent = function(item) { return "<div className='gantt_tree_indent'></div>";};Related Guides 配置树形列 网格的模板 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.