onAfterBranchLoading
Description
If dynamic loading is enabled, fires after the task branch was loaded to the page
onAfterBranchLoading: (settings: any) => void;
Parameters
settings- (required) object - an object which contains the task id and request URL
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.
Related API
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.