DayPilot.Scheduler.links.update

The links.update() method updates and redraws the specified link in the JavaScript Scheduler component.

Declaration

DayPilot.Scheduler.link.update(link);

Parameters

You can get the link object using the links.find() method.

Example

Change the text of an event and redraw the event.

const link = scheduler.links.find(1);
link.data.color = "blue";
scheduler.links.update(link);