DayPilot.Month.maxEvents

The maxEvents property sets the maximum concurrent number of events displayed by the monthly calendar.

Available since version 2021.4.5142.

Declaration

DayPilot.Month.maxEvents

Possible Values

  • "Auto" displays all events.

  • number sets 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

DayPilot.Month Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript