The links.findAllByFromTo() method finds links by the IDs of the JavaScript Scheduler events they connect.
DayPilot.Scheduler.links.findAllByFromTo(from, to);
from
- the id of the source event
to
- the id of the target event
Both parameters are optional. By supplying null
for one of them, you can find all links that start or end on the specified event.
Note: The id
is compared using ===
. That means 1
is different from "1"
.
An array of DayPilot.Link objects that match the source/target event IDs.