New to Kendo UI for Angular? Start a free 30-day trial

DatePickerOptions

The available configuration options for the DatePicker component, used internally in the recurrence editor.

NameTypeDefaultDescription

activeView?

CalendarView

Defines the active view that the Calendar initially renders. (See example). By default, the active view is month.

Always configure the activeView within the range defined by topView and bottomView.

bottomView?

CalendarView

Defines the bottommost Calendar view to which the user can navigate. (See example).

disabledDates?

Date[] | (date: Date) => boolean | Day[]

Sets the dates of the DatePicker that will be disabled. (See example).

disabledDatesValidation?

boolean

Determines whether the built-in validator for disabled date ranges is enforced when validating a form. (see example).

focusedDate?

Date

Specifies the focused date of the Calendar component. (see example).

format?

string

Specifies the date format that is used to display the input value. (see example).

formatPlaceHolder?

DateInputFormatPlaceholder

Defines the descriptions of the format sections in the input field. (More information and examples).

max?

Date

Specifies the biggest valid date. (See example).

min?

Date

Specifies the smallest valid date. (See example).

navigation?

boolean

Sets or gets the navigation property of the Calendar and determines whether the navigation side-bar is displayed. (See example).

placeholder?

string

Specifies the hint the DatePicker displays when its value is null. (More information and examples).

popupSettings?

PopupSettings

Configures the popup options of the DatePicker.

The available options are:

  • animate: Boolean—Controls the popup animation. By default, the open and close animations are enabled.
  • popupClass: String—Specifies a list of CSS classes that are used to style the popup.

readonly?

boolean

Sets the read-only state of the DatePicker. (See example).

readOnlyInput?

boolean

Sets the read-only state of the DatePicker input field. (See example).

If readonly property is set to true, the input will appear in a read-only state, without regard to the readOnlyInput value.

title?

string

Sets the title of the input element of the DatePicker.

topView?

CalendarView

Defines the topmost Calendar view to which the user can navigate. (See example).

weekNumber?

boolean

Determines whether to display a week number column in the month view of the Calendar. (See example).