跳到主要内容

showQuickInfo

Description

显示指定任务的弹出任务表单

showQuickInfo: (id: string | number) => void

Parameters

  • id - (必填) string | number - 任务 ID

Example

gantt.addTask({
id:10,
text:"Task #5",
start_date:"02-09-2013",
duration:28
}, "project_2");

window.setTimeout(function(){
gantt.showQuickInfo(10);
},1);

Details

注释

注意:此方法在 Quick Info 扩展中定义,因此需要启用 quick_info 插件。

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.