New to Kendo UI for jQuery? Download free 30-day trial

jQuery Calendar Multiple Selection

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
selection.html

Also available for:

API REFERENCE

Description

The Kendo UI for jQuery Calendar enables you to select dates.

The selection functionality of the Calendar component supports the following options:

  • Multiple selection—To select dates, the user utilizes the Ctrl key.
  • Range selection—To select ranges of dates, the user can select start and end dates.
  • Week selection—Represents a range selection for a specific week.

This demo shows how to select multiple days in the Calendar by using the selectable property.

The Ctrl key allows the user to perform multiple selection:

  • Ctrl + mouse click on a specific date will mark the date as selected. Other previously selected dates will remain selected as well.
  • Selecting a date from a specific view without using the Ctrl key will deselect all previously selected dates (including previously selected dates from other views or months), and select the date of the clicked cell.
  • Selecting a date that is already selected while holding the Ctrl key will remove the date from the selection.

The Shift key allows the user to select a range of dates in the same month or between different months:

  • Shift + mouse click selects all dates between the last selected one (with Space or mouse click) and the clicked cell when the selectable property is set to "multiple".
  • When there is no previous selection, Shift + mouse click will select all dates from the beginning to the clicked cell.

When the user clicks on a specific week number, the Calendar selects the entire week.

This Calendar example is part of a unique collection of hundreds of jQuery demos, with which you can see all Kendo UI for jQuery components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in Kendo UI for jQuery Dojo or ThemeBuilder.

Support & Learning Resources

Additional Resources