The rowsPerMonth property (string) defines how many rows should be displayed in each month table.
Declaration
DayPilot.Navigator.rowsPerMonthPossible 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
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot