New to Kendo UI for jQuery? Download free 30-day trial

Start View and Selection Depth

The DatePicker enables you to set the initial view it renders and define the navigation depth of the views.

To define the initially rendered view, use the start option. To control the navigation depth, use the depth option.

The DatePicker supports the following predefined views:

  • month—Shows the days of the month.
  • year—Shows the months of the year.
  • decade—Shows the years of the decade.
  • century—Shows the decades of the century.

The following example demonstrates how to create a DatePicker that allows the user to select a month.

    <input id="datePicker" />

            start: "year",
            depth: "year"

See Also

In this article