跳到主要内容

grid_blank

Description

定义在树形列中子项标签之前显示的自定义内容

grid_blank: (task: Task) => string;

Parameters

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

Returns

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

Example

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