甘特图 API模板grid_file页面内容grid_file Description 定义树状列中子项的图标 grid_file: (task: Task) => string;Parameters task - (required) Task - 任务对象 Returns text - (string) - 将在甘特图中显示的HTML文本 Examplegantt.templates.grid_file = function(item) { return "<div className='gantt_tree_icon gantt_file'></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.