DayPilot.Scheduler.linkWidth

The linkWidth property ("Auto" | number) specifies the default link width in pixels in the JavaScript Scheduler.

Declaration

DayPilot.Scheduler.linkWidth

Possible Values

  • "Auto" - uses the default width for the current link shape.

  • number - sets the line width explicitly in pixels.

The "Auto" value resolves depending on the link shape:

  • "RightAngled" - when linkWidth is set to "Auto", links with this shape use a 1-pixel line width.

  • "Curved" - when linkWidth is set to "Auto", links with this shape use a 2-pixel line width.

Default Value

"Auto"

Examples

JavaScript

const dp = new DayPilot.Scheduler("dp", {
  linkWidth: 3,
  // ...
});
dp.init();

Angular

<daypilot-scheduler [config]="config"></daypilot-scheduler>
config: DayPilot.SchedulerConfig = {
  linkWidth: 3,
  // ...
};

React

<DayPilotScheduler
  linkWidth={3}
  {/* ... */}
/>

Vue

<DayPilotScheduler
  :linkWidth="3"
  <!-- ... -->
/>

See Also

Links [doc.daypilot.org]

Link Shape [doc.daypilot.org]

DayPilot.Scheduler Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript