DayPilot.Navigator.rowsPerMonth

The rowsPerMonth property (string) defines how many rows should be displayed in each month table.

Declaration

DayPilot.Navigator.rowsPerMonth

Possible Values

  • "Six" - always shows 6 rows so all displayed months have the same height.

  • "Auto" - the number of rows depends on the number of days and can be 4, 5, or 6.

Default Value

"Six"

Examples

JavaScript

const dp = new DayPilot.Navigator("dp", {
  rowsPerMonth: "Auto",
  // ...
});
dp.init();

Angular

<daypilot-navigator [config]="config"></daypilot-navigator>
config: DayPilot.NavigatorConfig = {
  rowsPerMonth: "Auto",
  // ...
};

React

<DayPilotNavigator
  rowsPerMonth="Auto"
  {/* ... */}
/>

Vue

<DayPilotNavigator
  rowsPerMonth="Auto"
  <!-- ... -->
/>

See Also

DayPilot.Navigator Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript