onCircularLinkError

fires when the circular reference has been detected and auto scheduling is not possible

void onCircularLinkError(object link,object group);
linkobjectthe link object
groupobjecta group of tasks and links connected in a loop

Available only in PRO Edition

Example

gantt.attachEvent("onCircularLinkError",function(link, group){
    // any custom logic here
});

Related samples

Details

The group parameter presents an object which includes a group of tasks and links connected in a loop.

{ 
    tasks: [//ids of tasks connected in a loop], 
    links: [//ids of links connected in a loop]
}

This functionality is available in the PRO edition only.

The method requires the auto_scheduling plugin to be activated.

See also
Change log

The group parameter is added in version 4.1.

Back to top