updateLink

updates the specified dependency link

void updateLink(string id);

Parameters

idstringthe task id

Example

gantt.addLink({
    id:5, 
    source:1, 
    target:2, 
    type:1
});
 
gantt.getLink(5).type = 2; //changes link's data
gantt.updateLink(5); //renders the updated link

See also
Back to top