DayPilot.Scheduler.links.remove

The links.remove() method removes a link from the JavaScript Scheduler component and updates the view.

Declaration

DayPilot.Scheduler.links.remove(link)

Parameters

  • link - DayPilot.Link object, raw data object, or link ID to remove

Example

const link = scheduler.links.find("link-1");

if (link) {
  scheduler.links.remove(link);
}

See Also

DayPilot.Scheduler.links.find()

DayPilot.Link Class

Links API [doc.daypilot.org]

DayPilot.Scheduler Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript