The links.find() method finds a link by its ID in the JavaScript Scheduler.
DayPilot.Scheduler.links.find(id);
id
- the ID of the link to be found
Note: The id
is compared using ===
. That means 1
(number) is different from "1"
(string).
DayPilot.Link object if the link is found, otherwise null
.