max

Gets/Sets the max value of the calendar.

Parameters

value Date | String

The max date to set.

Returns

Date The max value of the calendar.

Example - get the max value of the calendar

<div id="calendar"></div>
<script>
    $("#calendar").kendoCalendar();

    var calendar = $("#calendar").data("kendoCalendar");

    var max = calendar.max();
</script>

Example - set the max value of the calendar

<div id="calendar"></div>
<script>
    $("#calendar").kendoCalendar();

    var calendar = $("#calendar").data("kendoCalendar");

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