refreshes the specifies link
id | string | number | the link id |
gantt.addLink({
id:1,
source:1,
target:2,
type:1
});
var task = gantt.getLink(1);
task.type = 2; gantt.refreshLink(1);
You can use this method to repaint a link after changing its properties. Unlike updateLink, this method does not trigger the DataProcessor, and no updates will be sent to the server.