quick_info_title
Description
设置弹出编辑表单的标题
quick_info_title: (start: Date, end: Date, task: Task) => string | number | void;
Parameters
start- (required) Date - 任务计划开始的日期end- (required) Date - 任务预期完成的日期task- (required) Task - 任务对象本身
Returns
text- (string | number | void) - 将在甘特图中显示的 HTML 字符串
Example
gantt.templates.quick_info_title = function(start, end, task){
return ev.text.substr(0,50);
};
Related samples
Details
注释
该模板是 Quick Info 扩展的一部分,请确保启用了 quick_info 插件。
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.