setOptions

Changes the initial DateRangePicker configuration.

Parameters

options Object

The new configuration options.

Example

<div id="daterangepicker"></div>
<script>
$("#daterangepicker").kendoDateRangePicker({
    min: new Date(2001, 0, 1),
    max: new Date()
});

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

daterangepicker.setOptions({
    min: new Date(2010, 5, 6)
});
</script>
In this article