The selectMode property (string) determines the selection mode of the date picker component.
DayPilot.Navigator.selectMode"Day" - selects a single day.
"Week" - selects a whole week.
"Month" - selects a whole month.
"None" - disables date selection.
"Day"JavaScript
const dp = new DayPilot.Navigator("dp", {
selectMode: "Week",
// ...
});
dp.init();Angular
<daypilot-navigator [config]="config"></daypilot-navigator>config: DayPilot.NavigatorConfig = {
selectMode: "Week",
// ...
};React
<DayPilotNavigator
selectMode="Week"
{/* ... */}
/>Vue
<DayPilotNavigator
selectMode="Week"
<!-- ... -->
/>