setOptions

Changes the initial DatePicker configuration.

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
Not finding the help you need? Improve this article