max

Gets/Sets the max value of the DateRangePicker.

Parameters

value Date | String

The max date to set.

Returns

Date The max value of the DateRangePicker.

Example - get the max value of the DateRangePicker

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

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

var max = daterangepicker.max();

console.log(max);
</script>

Example - set the max value of the DateRangePicker

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

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

daterangepicker.max(new Date(2100, 0, 1));
</script>
In this article
Not finding the help you need? Improve this article