The maxEvents property sets the maximum concurrent number of events displayed by the monthly calendar.
Available since version 2021.4.5142.
Declaration
DayPilot.Month.maxEventsPossible Values
"Auto"displays all events.numbersets an explicit maximum number of displayed events.
Default Value
"Auto"Examples
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"
<!-- ... -->
/>See Also
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot