The maxEvents property sets the maximum concurrent number of events displayed by the monthly calendar.
Available since version 2021.4.5142.
DayPilot.Month.maxEvents"Auto" displays all events.
number sets an explicit maximum number of displayed events.
"Auto"JavaScript
const dp = new DayPilot.Month("dp", {
maxEvents: 3,
// ...
});
dp.init();Angular
<daypilot-month [config]="config"></daypilot-month>config: DayPilot.MonthConfig = {
maxEvents: 3,
// ...
};React
<DayPilotMonth
maxEvents={3}
{/* ... */}
/>Vue
<DayPilotMonth
:maxEvents="3"
<!-- ... -->
/>