setOptions

Changes the initial DatePicker configuration by updating the options object. The options object holds all available DatePicker configuration fields.

Parameters

options Object

The new configuration options.

Example

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

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

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