refreshLink

refreshes the specifies link

void refreshLink(string| number id);

Parameters

idstring| numberthe link id

Example

gantt.addLink({
    id:1,
    source:1,
    target:2,
    type:1
});
 
var task = gantt.getLink(1);
 
task.type = 2; gantt.refreshLink(1);

See also
Back to top