Hi,
I have a GridView for a DesktopAlert. It is like the example in your demos.
For the grouping by email received datetime I have used the same example:
var dateGroupDescriptor =
new
Telerik.Windows.Data.GroupDescriptor<Message, DateTime, DateTime>();
dateGroupDescriptor.GroupingExpression = email => email.Received.Value.Date;
this
.gridView.GroupDescriptors.Add(dateGroupDescriptor);
var dateSortDescriptor =
new
SortDescriptor<Message, DateTime>();
dateSortDescriptor.SortingExpression = item => item.Received.Value;
dateSortDescriptor.SortDirection = System.ComponentModel.ListSortDirection.Descending;
this
.gridView.SortDescriptors.Add(dateSortDescriptor);
It works succesfull, however the format of the group header is "mm/dd/yyyy" and I need other date formart.
How do I change the date format string?
Thanks!