甘特图 API模板grid_folder页面内容grid_folder Description 定义树形列中父项使用的图标 grid_folder: (task: Task) => string;Parameters task - (required) Task - 任务对象 Returns text - (string) - 将在甘特图中渲染的html文本 Examplegantt.templates.grid_folder = function(item) { return `<div className='gantt_tree_icon gantt_folder_${(item.$open ? "open" : "closed")}'> </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.