The links.list property (array) holds the event link data.
Declaration
DayPilot.Scheduler.links.listDefault Value
[]Notes
Each item in the array uses the DayPilot.Link.data structure.
Examples
JavaScript
const dp = new DayPilot.Scheduler("dp", {
links: [
{
from: "1",
to: "2",
type: "FinishToStart",
color: "green"
}
],
// ...
});
dp.init();Angular
<daypilot-scheduler [config]="config"></daypilot-scheduler>config: DayPilot.SchedulerConfig = {
links: [
{
from: "1",
to: "2",
type: "FinishToStart",
color: "green"
}
],
// ...
};React
<DayPilotScheduler
links={[
{
from: "1",
to: "2",
type: "FinishToStart",
color: "green"
}
]}
{/* ... */}
/>Vue
<DayPilotScheduler
:links="[
{
from: '1',
to: '2',
type: 'FinishToStart',
color: 'green'
}
]"
<!-- ... -->
/>See Also
Event Links [doc.daypilot.org]
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot