Categories | Question details Back To List | ||
date column sorting in grid Hi i want to do sorting for date column in grid. i used mygrid.setColSorting("date"); but it didn't worked. I used DD-MMM-YYYY as date format. Is it correct format to use ? If not what is the correct date formate to use in order to enable the sorting on date colimn in the grid. Answer posted by Support on Oct 20, 2008 02:10 >>If not what is the correct date formate to use in order to enable the sorting on date colimn in the grid. Default data formating is mm/dd/yyyy ( or any other format which can be parsed by Date.parse ) If you need to use custom date format you can a) use dhxCalendar and setDateFormat command b) use custom sorting functionality http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Sorting_in_grid.html#grid_art_sort |