|
-
Jan 25th, 2014, 11:58 AM
#3
Re: WPF - XAML - XamDataGrid - How to sort by Date Field?
Hey dee-u. Actually i'm not Binding or applying format because i didn't want to affect how the date is being displayed i want to keep showing format "DD/MM/YYYY" but i want sorting to sort correctly according to date (the format needed for this would be "YYYYMMDD"), is this possible using your code? Showing a date format but sort using another?
This grid comes with Infragistics.
EDIT:
It's resolved now, i had to use EditAsType using type Datetime. For some reason this field was formatted as String and that's why it was being sorted by the grid like a String.
Last edited by jcis; Jan 29th, 2014 at 08:42 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|