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.





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
dhtmlx.com/docs/products/dhtmlxG … d_art_sort