Example of Disabled Dates in React Calendar Component


In the following sample, all the weekends (Saturday and Sunday) of a month are disabled, and these dates are restricted to set or select in the Calendar.

More Details...


Disabled Dates sample demonstrates, how to disable a specific dates in a calendar by using renderDayCell event. This event gets triggered on each day cell element creation, that allows you to customize or disable the specific dates in calendar. Here the weekend date's are disabled by using renderDayCell event.

More information on the disabled dates can be found in this documentation section.