DateEdit style attributes
DateEdit presentation style attributes apply to DATEEDIT
elements.
buttonIcon
Defines the icon name to use for the button that opens the date picker.
calendarType
Controls the type of calendar pop-up window.
Possible values are "dropdown"
and "modal"
.
Default is "modal"
.
When set to "modal"
, the calendar is intrusive to the DATEEDIT
field: Once the calendar opens, the user must validate the date selection by clicking the OK button,
or keep the current field value by clicking the Cancel button.
When set to "dropdown"
, the calendar is less intrusive: The user can type
directly into the DATEEDIT
field. A single click on a date validates and closes the
calendar. There is no way to cancel the selected date.
daysOff
Defines the days of the week that are grayed out.
Possible values are "monday"
, "tuesday"
,
"wednesday"
, "thursday"
, "friday"
,
"saturday"
, "sunday"
.
Default is "saturday sunday"
. The days of week can be combined, as
shown.
firstDayOfWeek
Defines the first day of the week to be displayed in the calendar.
Possible values are "monday"
, "tuesday"
,
"wednesday"
, "thursday"
, "friday"
,
"saturday"
, "sunday"
.
Default depends on the front-ends platform language settings: For example, the default first day of week will be Sunday for an English/US locale, Monday for a French or German locale.
showCurrentMonthOnly
Defines if dates of the previous and next months are shown.
Values can be "yes"
, "no"
(default).
showWeekNumber
Defines if the week numbers are displayed.
Values can be "yes"
, "no"
(default).