Check documentation for the latest version of dhtmlxSuite enableDays DHTMLX Docs

enableDays

enables the dates disabled by the disableDays method

void enableDays(string mode);
modestring"week", "month" or "year"

Example

// disables the 1st of January of each year in the calendar
myCalendar.disableDays("year", "2011-01-01"); 
 
// disables every Tuesday of each week in the calendar
myCalendar.disableDays("week", 2); 
 
// enables the dates disabled in the "year" mode only,
// i.e. the 1st of January of each year
myCalendar.enableDays("year");

Details

if a date is set as a string, it should correspond to the format specified by the setDateFormat() method

See also
Back to top