DayPilot.Scheduler.links.findAllByFromTo

The links.findAllByFromTo() method finds links by the IDs of the JavaScript Scheduler events they connect.

Declaration

DayPilot.Scheduler.links.findAllByFromTo(from, to);

Parameters

  • 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".

Return Value

An array of DayPilot.Link objects that match the source/target event IDs.