The linkWidth property ("Auto" | number) specifies the default link width in pixels in the JavaScript Scheduler.
Declaration
DayPilot.Scheduler.linkWidthPossible 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"- whenlinkWidthis set to"Auto", links with this shape use a 1-pixel line width."Curved"- whenlinkWidthis 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]
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot