The links.update() method updates and redraws the specified link in the JavaScript Scheduler component.
Declaration
DayPilot.Scheduler.links.update(link)Parameters
link(DayPilot.Link) - the link to update and redraw
Notes
You can get the link object using the DayPilot.Scheduler.links.find() method.
Example
Change the color of a link and redraw it.
const link = scheduler.links.find(1);
link.data.color = "blue";
scheduler.links.update(link);See Also
DayPilot.Scheduler.links.find()
Dependency Links in the Scheduler Component [doc.daypilot.org]
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot