DateEdit style attributes

DateEdit presentation style attributes apply to DATEEDIT elements.

Note: This topic lists presentation style attributes for a specific class of form element, common presentation style attributes can also be used for this type of element.
Table 1. DateEdit style attributes

Defines the icon name to use for the button.

Yes Yes No No

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.

No Yes (see note 1) No No

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.

Yes Yes (see note 1) No No

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.

Yes Yes (see note 1) No No

Defines if dates of the previous and next months are shown.

Values can be "yes", "no" (default).

Yes Yes (see note 1) No No

Indicates if the grid lines between dates must be visible in the calendar.

Values can be "yes", "no" (default).

Yes No No No

Defines if the week numbers are displayed.

Values can be "yes", "no" (default).

Yes Yes (see note 1) No No
  1. With GBC, this style attribute is only available when using the built-in date picker. When using the mobile theme of GBC, the native browser date picker is used and built-in date picker rendering attributes cannot be applied.