# Reverse Selection

Starting with Kendo UI R2 2024, the Calendar provides an [`allowReverse`](https://www.telerik.com/kendo-jquery-ui/documentation/api/ui/calendar/configuration/allowreverse) selection. It allows you to pick an end date which is before the selected start date when the [`selectable`](https://www.telerik.com/kendo-jquery-ui/documentation/api/ui/calendar/configuration/selectable) option is set to `range`.

```dojo
    <div id="calendar"></div>
    <script>
        $("#calendar").kendoCalendar({
            selectable: "range",
            allowReverse: true,
            showOtherMonthDays:false
        });
    </script>
```

> When range selection is configured, the [`showOtherMonthDays`](https://www.telerik.com/kendo-jquery-ui/documentation/api/ui/calendar/configuration/showothermonthdays) needs to be set to `false`.

## See Also

* [Reverse Selection Demo of the Calendar](https://demos.telerik.com/kendo-ui/calendar/reverse-selection)
* [JavaScript API Reference of the Calendar](https://www.telerik.com/kendo-jquery-ui/documentation/api/ui/calendar)
