Categories | Question details Back To List | ||||||||
pop up a dhxCalendar on a single click Hi, To help the user select his date, I'm using a dhxCalendar cell on my dhtmlXGrid. I want the calendar to pop up on a single click, but so far, i only managed to make it pop up on a double click. mygrid.enableEditEvents(true,false,false); doesn't seem to work for me. Am i missing something ? Any help would be realy appreciated. Thanks in advance, Mathiew Answer posted by Support on Jan 26, 2009 05:22 Actually the enableEditEvents affects all column types, and when it used in local samples it allows to open calendar by single click. If issue still occurs for you - please provide any kind of sample where problem can be reconstructed. Attachments (1)
Answer posted by mathiew on Jan 26, 2009 05:58 Thanks a lot, it works now. I still don't understand why, but the problem was caused by this line in my code : mygrid.setDateFormat("d/m/y"); when i removed it, all worked perfectly Answer posted by Support on Jan 26, 2009 06:02 >>mygrid.setDateFormat("d/m/y"); Please beware that you need to use slightly different format for dhxCalendar http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Cell_values_formating.html#grid_art_formatcells |