open

Fires when the calendar is opened

Event Data

e.sender kendo.ui.DateRangePicker

The widget instance which fired the event.

Example - subscribe to the "open" event during initialization

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

Example - subscribe to the "open" event after initialization

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

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

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