The eventMinWidth property (number) sets the minimum event box width, in pixels.
Declaration
DayPilot.Scheduler.eventMinWidthDefault Value
1Notes
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]
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot