onAfterBranchLoading

当启用动态加载时,此事件在任务分支加载完成后立即触发。

void onAfterBranchLoading(object settings);
settingsobject一个包含任务ID和请求URL的对象。

Available only in PRO Edition

Example

gantt.attachEvent("onAfterBranchLoading", function(settings){
    console.log(settings.url);
});

Details

settings 对象包含两个属性:任务的ID和用于请求的URL:

{
   taskId: 1,
   url:"/data?parent_id=1"
}

此事件仅在启用动态加载时触发。

See also
Back to top