close

Fires when the calendar is closed

Event Data

e.sender kendo.ui.DatePicker

The widget instance which fired the event.

Example - subscribe to the "close" event during initialization

<input id="datepicker" />
<script>
$("#datepicker").kendoDatePicker({
    close: function(e) {
        e.preventDefault(); //prevent popup closing
    }
});
</script>

Example - subscribe to the "close" event after initialization

<input id="datepicker" />
<script>
$("#datepicker").kendoDatePicker();

var datepicker = $("#datepicker").data("kendoDatePicker");

datepicker.bind("close", function(e) {
    e.preventDefault(); //prevent popup closing
});
</script>
In this article
Not finding the help you need? Improve this article