Categories | Question details Back To List | ||||||||
setSensitive still allows me to select date in future Hi support, I have an issue with the set sensitive method call of a calendar attached to a textbox. All though the range is greyed out, I can still select a date in the greyed out section. Furthermore, I have attached events to the text box that is attached to the caledar but they do not seem to fire. When I take the calendar off, the events then do fire, any ideas? Below is sample code for cal init: Cheers Scott //Instantiate calendar controls var max = new Date(); var min = new Date("01/01/2000"); window.dhx_globalImgPath="../../imgs/"; var cal = new dhtmlxCalendarObject("dtFrom",true); cal.setSkin("dhx_blue"); cal.setDateFormat("%d/%m/%Y"); cal.setSensitive(min, max); cal.draw(); Answer posted by Alex (support) on Jul 20, 2009 03:52 Hello, the issue wasn't reproduced with the latest calendar version. Please, see attached sample Attachments (1)
Answer posted by squatss on Jul 21, 2009 01:21 I'm using the compressed suitefile dhtmlx.js and not the individual js files. Answer posted by Alex (support) on Jul 21, 2009 01:31 In this case please place dhtmlxcalendar.js from the attached sample to the dhtmlxCalendar/codebase/ to genarate new dhtmlx.js |