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()
Links API [doc.daypilot.org]
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot