close

Fires when the calendar is closed

Event Data

e.sender kendo.ui.DateRangePicker

The widget instance which fired the event.

Example - subscribe to the "close" event during initialization

<div id="daterangepicker"></div>
<script>
$("#daterangepicker").kendoDateRangePicker({
    close: function(e) {
        e.preventDefault(); //prevent popup closing
    }
});
</script>

Example - subscribe to the "close" event after initialization

<div id="daterangepicker"></div>
<script>
$("#daterangepicker").kendoDateRangePicker();

var daterangepicker = $("#daterangepicker").data("kendoDateRangePicker");

daterangepicker.bind("close", function(e) {
    e.preventDefault(); //prevent popup closing
});
</script>
In this article