showQuickInfo

为指定任务打开弹出任务表单

void showQuickInfo(string | number id);
idstring | number任务的唯一标识符

Example

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

Related samples

Details

此方法来自Quick Info扩展,因此请确保启用了quick_info插件。

See also
Back to top