This is a migrated thread and some comments may be shown as answers.

How to enable out-of-range date

2 Answers 56 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
Grant
Top achievements
Rank 3
Iron
Iron
Veteran
Grant asked on 18 Dec 2017, 01:22 PM

Hi, 

As my title says, how can i enable a specific date that is outside the min and max range?

How can i enable the 5th as well in this example? https://dojo.telerik.com/uKuMap

Can this be done by using the 'dates' config attribute?

Thanks,
Grant

2 Answers, 1 is accepted

Sort by
0
Accepted
Georgi
Telerik team
answered on 20 Dec 2017, 07:45 AM
Hi Grant,

I recommend you to use min, max and disableDates in order to achieve the required behavior.

I have modified the provided sample to apply the above solution, please examine it and let me know if the solution is suitable for your case:



Regards,
Georgi
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Grant
Top achievements
Rank 3
Iron
Iron
Veteran
answered on 20 Dec 2017, 07:50 AM

Hi Georgi,

I had originally ruled out using disableDates because I was trying to enable dates, but the way you've implemented it is great.

Thanks a lot.

Regards,
Grant

Tags
Date/Time Pickers
Asked by
Grant
Top achievements
Rank 3
Iron
Iron
Veteran
Answers by
Georgi
Telerik team
Grant
Top achievements
Rank 3
Iron
Iron
Veteran
Share this question
or