The showWeekNumbers property (boolean) determines whether week numbers should be displayed in the Navigator.
Declaration
DayPilot.Navigator.showWeekNumbersDefault Value
falseNotes
If enabled, the week numbers are displayed on the left side of the Navigator in the first column. They are calculated using weekNumberAlgorithm.
Examples
JavaScript
const dp = new DayPilot.Navigator("dp", {
showWeekNumbers: true,
// ...
});
dp.init();Angular
<daypilot-navigator [config]="config"></daypilot-navigator>config: DayPilot.NavigatorConfig = {
showWeekNumbers: true,
// ...
};React
<DayPilotNavigator
showWeekNumbers={true}
{/* ... */}
/>Vue
<DayPilotNavigator
:showWeekNumbers="true"
<!-- ... -->
/>See Also
DayPilot.Navigator.weekNumberAlgorithm
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot