Categories | Question details Back To List | ||
DATE type 'setColTypes' definition in Grid Hello, I have a DATE type column in the Grid and I have assigned dates from JS Array. Now, I want to sort the column by the date by clicking the column header. As of now, I could not found date type 'setColTypes' definition so I am using string type column definition. Please let me know 'setColTypes' definition for DATE type. Thanks, Answer posted by Alex (support) on Jan 20, 2010 05:00 Hello there isn't date type. You can use dhxCalendar and dhxCalendarA to apply "date" sorting: mygrid.setColTypes("..,dhxCalendar,..."); mygrid.setColSorting("..,date,..."); The sample is http://www.dhtmlx.com/docs/products/dhtmlxGrid/samples/01_cell_types/01_calendar_grid.html |