Here's an odd thing. I have a date field in a ListGrid that goes back to 1965 or so. When I sort the ListGrid by date, dates before 1970 appear first, then all blank records, and then dates after 1970. Any idea how I can prevent that, i.e. list the blank records first?
Announcement
Collapse
No announcement yet.
X
-
Hi Ledifni
This should be supported automatically. If you look at this example:http://www.smartclient.com/#_Grids_Data.types_Date the "Nationhood" field contains date values which can be sorted, and range from well before 1970 to 1991, and include some blank values.
The behavior you're seeing may be due to invalid data - we'd recommend double checking the code to make the dates are being created with valid values.
If you can't see any errors, if you could post sample code so we can reproduce the problem on our end - ideally a standalone example that demonstrates the problem (which can be posted here or zipped up and emailed to support@isomorphic.com).
Please be sure to let us know which SmartClient version you're running against, and any steps required to reproduce the problem.
Thanks
Isomorphic Software
Comment