getConnectedGroup

returns all tasks and links that a task is connected with

object getConnectedGroup( [id id] );
ididoptional, the id of a task
objectan object with tasks and links a task is connected with

Example

gantt.getConnectedGroup(18);
// => {links:["16", "17", "18"], tasks:[18, 17, 19, 20]}

Details

Without parameters, the method returns all groups of tasks and links that make connections.

This functionality is available in the PRO edition only.

The method requires the auto_scheduling plugin to be included on the page.

See also
Back to top