:: Forum >>

sorting of date is not correct

Hi
I observed that sorting of column containing dates is not correct.For instance, if the date format for the user is DD-MM-YYYY, the records could be shown as below when sorted by decending order.
21-02-2008
07-03-2008
06-03-2008
This is actually not sorted correctly. Whatever the date format is, sorting should work consistent by
date including not only date but also month and year.
varaprasad
Sunday, March 16, 2008
For correct sorting you should use cell format object which matches your dates -

http://www.activewidgets.com/aw.ui.grid/cell-format.html
http://www.activewidgets.com/aw.formats.date/settextformat.html
Alex (ActiveWidgets)
Monday, March 17, 2008
Thanks alex its working fine.
varaprasad
Wednesday, March 19, 2008

This topic is archived.


Back to support forum

Forum search