DayPilot.Navigator.startDate

The startDate property (DayPilot.Date | string) sets the first month to be displayed in the Navigator.

Declaration

DayPilot.Navigator.startDate

Default 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

DayPilot.Navigator Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript