DatePicker, TimePicker multiple selection

1 Answer 457 Views
DatePicker TimePicker
Andrei
Top achievements
Rank 1
Iron
Iron
Iron
Andrei asked on 24 Sep 2021, 06:17 PM
Hello , i want to use kendo react datepicker and timepicker component but i need to have an ability to select multiple dates is there a way to do it?

1 Answer, 1 is accepted

Sort by
0
Kiril
Telerik team
answered on 27 Sep 2021, 06:09 AM

Hello Andrei,

While it's possible to provide multi-dates selection functionality, the KendoReact components does not provide an out-of-the box UI for this functionality in the DatePicker or TimePicker component. The main limitation being inability to show multiple selected dates in a single DateInput.

In the following example I will do my best to demonstrate how this requirement can be partially achieved through the MultiViewCalendar, but we leave the DateInput up to the user to decide the multi-select UI.

https://stackblitz.com/edit/react-qxhyvm?file=app/main.jsx

For the described use-case we recommend the usage of the MultiViewCalendar only, as displaying multiple dates in a single DateInput does not provide an intuitive User Experience.

Regards,
Kiril
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
DatePicker TimePicker
Asked by
Andrei
Top achievements
Rank 1
Iron
Iron
Iron
Answers by
Kiril
Telerik team
Share this question
or