DayPilot.Scheduler.links.list

The links.list property (array) holds the event link data.

Declaration

DayPilot.Scheduler.links.list

Default 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]

DayPilot.Link.data

DayPilot.Scheduler Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript