Categories | Question details Back To List | ||
dhtmlxCalendar I can't get Inactive week days to work in dhtmlxCalendar. The other dates work fine, just the weekday number doesn't work. Code snippet : hdate = new Date(); bdate = new Date(hdate.getFullYear(),hdate.getMonth(),hdate.getDate()+1); //tomorrow edate = new Date(hdate.getFullYear(),hdate.getMonth()+3,hdate.getDate()); //3 months from today dhxCal1 = new dhtmlxCalendarObject("date_input"); dhxCal1.setDateFormat("%d-%m-%Y"); dhxCal1.setInsensitiveDates("6,0,2009-02-24,2009-02-26"); dhxCal1.setSensitive(bdate , edate); dhxCal1.setSkin("dhx_black"); I have tried an array but same result, dates work perfectly but weekday numbers don't. I'm using dhtmlxSuite 2008Rel3. Answer posted by Support on Feb 06, 2009 07:03 This issue was not reproduced locally. Please check this functionality in dhtmlxSuite/dhtmlxCalendar/samples/initialization/calendar_insensitive_dates.html with 6 or 0 or 0,6 as value. And can you provide information about your browser and it version. Answer posted by Bert on Feb 09, 2009 03:29 Browser : IE7 Tried it at http://dhtmlx.com/docs/products/docsExplorer/index.shtml?node=dhtmlxcalendar&type=smpl (Initialization => insensitive dates) Input 0,6 in the textarea but weekday's aren't grayed out. Answer posted by Support on Feb 10, 2009 08:35 You can try to download dhtmlxCalendar directly from site - http://www.dhtmlx.com/docs/download/dhtmlxCalendar.zip and this functionality should work correctly ( somehow online sample wasn't updated to latest build - will be fixed in nearest time ) |