DHTMLX Docs & Samples Explorer

enableDays(mode)

Enables dates disabled by the disableDays() method.

Parameters:

  • mode - ('week', 'month' or 'year') defines the repetition period of the specified date(s). Dates disabled in the other mode won't be enabled.
myCalendar.disableDays("year",'2011-01-01');// disables 1st January of each year in the calendar
myCalendar.disableDays("week",2);// disables every tuesday of each week in the calendar
 
myCalendar.enableDays("year");//enables just dates disabled in the 'year' mode, i.e. each 1st January

See also: