DayPilot.Scheduler.eventMinWidth

The eventMinWidth property (number) sets the minimum event box width, in pixels.

Declaration

DayPilot.Scheduler.eventMinWidth

Default Value

1

Notes

If an event would otherwise render narrower than the configured minimum width, the real duration is highlighted using the event duration bar.

Examples

JavaScript

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

Angular

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

React

<DayPilotScheduler
  eventMinWidth={10}
  {/* ... */}
/>

Vue

<DayPilotScheduler
  :eventMinWidth="10"
  <!-- ... -->
/>

See Also

Duration Bar [doc.daypilot.org]

DayPilot.Scheduler Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript