Completed
Last Updated: 15 Nov 2024 12:26 by ADMIN
Niranjan
Created on: 20 Feb 2024 11:40
Category: DateRange
Type: Feature Request
4
Introduce disabling of dates functionality for the DateRange component

Hi, 

It will be a good addition to the component if the ability to disable dates is added like the disabledDates input of the DatePicker or jQuery DateRangePicker widget.

2 comments
ADMIN
Yanmario
Posted on: 15 Nov 2024 12:26

Hi Everyone,

The functionality is available in version 17.0.0:

https://www.telerik.com/kendo-angular-ui/components/dateinputs/api/daterangepopupcomponent#disableddates

Example - https://stackblitz.com/edit/angular-cnjvmi?file=src%2Fapp%2Fapp.component.ts

Regards,
Yanmario
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

ADMIN
Yanmario
Posted on: 20 Feb 2024 11:50

Hi,

I wanted to post a workaround for the people who will land on this feature request:

https://stackblitz.com/edit/angular-qpwtpj?file=src%2Fapp%2Fapp.component.ts

The workaround uses the DateRangePopupTemplateDirective which can render the MultiViewCalendar that has the disabledDates property.

Regards,
Yanmario
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources