甘特图 API模板grid_open页面内容grid_open Description 指定用于树形列中展开/关闭指示图标的图标 grid_open: (task: Task) => string;Parameters task - (required) Task - 任务对象 Returns text - (string) - 将在甘特图中显示的html文本 Examplegantt.templates.grid_open = function(item) { return "<div className='gantt_tree_icon gantt_" + (item.$open ? "close" : "open") + "'></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.