跳到主要内容

grid_file

Description

定义树状列中子项的图标

grid_file: (task: Task) => string;

Parameters

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

Returns

  • text - (string) - 将在甘特图中显示的HTML文本

Example

gantt.templates.grid_file = function(item) {
return "<div className='gantt_tree_icon gantt_file'></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.