The showToday property (boolean) determines whether the section with a Today button is visible in the date picker.
Declaration
DayPilot.DatePicker.showTodayPossible Values
true- displays the Today button section.false- hides the Today button section.
Default Value
trueNotes
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
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot