The startDate property (DayPilot.Date | string) sets the first month to be displayed in the Navigator.
Declaration
DayPilot.Navigator.startDateDefault Value
new DayPilot.Date()Displays the current month.
Notes
Only the year and month values are taken into account.
Examples
JavaScript
const dp = new DayPilot.Navigator("dp", {
startDate: "2026-05-01",
// ...
});
dp.init();Angular
<daypilot-navigator [config]="config"></daypilot-navigator>config: DayPilot.NavigatorConfig = {
startDate: "2026-05-01",
// ...
};React
<DayPilotNavigator
startDate="2026-05-01"
{/* ... */}
/>Vue
<DayPilotNavigator
startDate="2026-05-01"
<!-- ... -->
/>See Also
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot