Categories | Question details Back To List | ||
Setting date range for calendar. I have created an object of dhtmlxCalendarObject. I want to add validation like, user should be able to select days only for current week. I tried using setSensitive api, but that did not work for me. I am using setSensitive api as: mCal.setSensitive(new Date(minDate),new Date(maxDate)) where mCal is dhtmlxCalendarObject. I have replaced my dhtmlxcalendar.js and dhtmlxcommon.js according to previous post: http://www.dhtmlx.com/docs/products/kb/index.shtml?cat=search&page=1&q=10634&ssr=yes&s=setsensitive Answer posted by Alex (support) on Nov 11, 2009 02:47 You can try to use the following method: var current = new Date(); Answer posted on Nov 11, 2009 04:16 Is there any way that I can catch onclick event for inactive dates.? Answer posted by Alex (support) on Nov 11, 2009 05:03 Unfortunately, it isn't possible. |