onAfterBranchLoading

if dynamic loading is enabled, fires after the task branch was loaded to the page

void onAfterBranchLoading(object settings);
settingsobjectan object which contains the task id and request URL

Available only in PRO Edition

Example

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

Details

The settings object contains two properties - the id of the task and the request url:

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

This event fires only when Dynamic loading is enabled.

See also
Back to top