Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic. Our thoughts here at Progress are with those affected by the outbreak.
As per the github item, the task is for customizing the datetimepicker. Do this change support all the default properties of datetime picker like min date and max date, etc.
Also, if there is one property in datetimepicker like RestrictedDays=[0, 6] (Sturday and Sunday) which will restrict the specific days without customizing the whole datetime picker.
Regards,
Sanjay
0
Stefan
Telerik team
answered on 24 Apr 2020, 01:44 PM
Hello, Sanjay,
We try to follow this content for customization based on the React idea for reusable components.
We provide customization options that accept components like in this case.
I will share an example to illustrate why we have this approach.
We provide a custom Calednar option that shows Saturday and Sunday as disabled in a reusable component and used it in multiple places. Then when we have new requirements that a specific day has to be made disabled. If we have property RestrictedDays, we have to go and make the change in all places where if we use custom reusable Calendar, we made the change only on that component, and all pickers that use it will have the new functionality.
Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic. Our thoughts here at Progress are with those affected by the outbreak.