Start View and Selection Depth

The DateRangePicker 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 Calendar view 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.

To enable the selection of dates for the range, set the depth to month.

See Also

In this article
Not finding the help you need? Improve this article