The showWeekNumbers property (boolean) determines whether week numbers should be displayed in the Navigator.
DayPilot.Navigator.showWeekNumbersfalseIf enabled, the week numbers are displayed on the left side of the Navigator in the first column. They are calculated using weekNumberAlgorithm.
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"
<!-- ... -->
/>