getConnectedGroup

returns all tasks and links that a task is connected with

object getConnectedGroup( [id id] );

Parameters

ididoptional, the id of a task

Returns

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 ext/dhtmlxgantt_auto_scheduling.js to be included on the page.

See also
Back to top