New to Kendo UI for jQueryStart a free 30-day trial

Displaying One Month in DateRangePicker

Updated on Dec 10, 2025

Environment

ProductKendo UI for jQuery DateRangePicker
Version2025.3.825

Description

I want the Kendo UI for jQuery DateRangePicker to display only one month when opened instead of two months. This behavior is needed to simplify the selection view for users.

This knowledge base article also answers the following questions:

  • How to customize DateRangePicker to show one month only?
  • How to modify the MultiViewCalendar used in DateRangePicker?
  • How to hide the second month's calendar in DateRangePicker?

Solution

To achieve this behavior, handle the open event of the DateRangePicker. In the event handler, customize the internal MultiViewCalendar by setting its views option to 1. Use the following code snippet:

javascript
$("#daterangepicker").kendoDateRangePicker({
    open: function(e) {
        // Hide the second month's calendar table
        $('.k-calendar-table:eq(1)').hide();
        
        // Adjust the calendar header to show only the first month's title
        let monthTitle = $('.k-calendar-header .k-button-text').text().split('-')[0].trim();
        $('.k-calendar-header .k-button-text').text(monthTitle);
        
        // Set the calendar views option to display only one month
        $("#daterangepicker").data('kendoDateRangePicker').dateView.calendar.options.views = 1;
    }
});

This will ensure that only one month is displayed when the DateRangePicker is opened. You can test this configuration in the example below:

<div id="daterangepicker" title="daterangepicker"></div>
    <script>
      $(document).ready(function () {       
        $("#daterangepicker")
          .kendoDateRangePicker({
            open: function (e) {
              $(".k-calendar-table:eq(1)").hide();
              let monthTitle = $(".k-calendar-header .k-button-text")
                .text()
                .split("-")[0]
                .trim();
              $(".k-calendar-header .k-button-text").text(monthTitle);
              $("#daterangepicker").data(
                "kendoDateRangePicker",
              ).dateView.calendar.options.views = 1;
            },
          })
          .data("kendoDatePicker");
      });
    </script>

See Also