refreshLink
Description
Refreshes the specifies link
refreshLink: (id: string | number) => void
Parameters
id- (required) string | number - the link id
Example
gantt.addLink({
id:1,
source:1,
target:2,
type:1
});
var task = gantt.getLink(1);
task.type = 2; /*!*/
gantt.refreshLink(1); /*!*/
Details
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.