New to Kendo UI for jQuery? Download free 30-day trial
jQuery Calendar Multiple Selection
- EXAMPLE
- VIEW SOURCE
-
Change Theme
defaultDefault Theme
- Main
- Main Dark
- Nordic
- Ocean Blue
- Ocean Blue A11Y
- Purple
- Turquoise
Bootstrap Theme- Main
- Bootstrap 3
- Bootstrap 3 Dark
- Main Dark
- Nordic
- Turquoise
- Turquoise Dark
- Urban
- Vintage
Material Theme- Main
- Arctic
- Lime Dark
- Main Dark
- Nova
Classic Theme- Main
- Green
- Green Dark
- Lavender
- Lavender Dark
- Main Dark
- Metro
- Metro Dark
- Moonlight
- Opal
- Opal Dark
- Silver
- Silver Dark
- Uniform
Fluent Theme- Main
Also available for:
API REFERENCEDescription
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 (withSpace
or mouse click) and the clicked cell when theselectable
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.