The allowEventOverlap property (boolean) lets you enable or disable event overlap protection.
See also Event Overlaps [doc.daypilot.org].
Declaration
DayPilot.Calendar.allowEventOverlapDefault Value
trueExamples
JavaScript
const calendar = new DayPilot.Calendar("dp", {
allowEventOverlap: false,
// ...
});
calendar.init();Angular
<daypilot-calendar [config]="config"></daypilot-calendar>config: DayPilot.CalendarConfig = {
allowEventOverlap: false,
// ...
};React
<DayPilotCalendar
allowEventOverlap={false}
{/* ... */}
/>Vue
<DayPilotCalendar
:allowEventOverlap="false"
<!-- ... -->
/>See Also
Event Overlaps [doc.daypilot.org]
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot