DayPilot.DatePicker.showToday

The showToday property (boolean) determines whether the section with a Today button is visible in the date picker.

Declaration

DayPilot.DatePicker.showToday

Possible Values

  • true - displays the Today button section.

  • false - hides the Today button section.

Default Value

true

Notes

Set this property to false when you want to hide the shortcut that jumps to the current day.

Example

const picker = new DayPilot.DatePicker("dp", {
  showToday: false
});

See Also

DayPilot.DatePicker.todayText

DayPilot.DatePicker Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript