In my SilverLight application , i ve a datagrid in my xaml.
One of the column is
I am binding PagedCollectionView to the datagrid. I want to sort based on the SentDate. The code i ve added is MessagesPagedCollectionView.SortDescriptions.Add(new
SortDescription("SentDate", ListSortDirection.Descending));
But it is not giving me the result. Is it because the Propertyname and Column Header is different. PLease help
Suthish NairPosted Nov 6, 2011, 8:43 AM
http://forums.silverlight.net/t/213146.aspx/1
http://mattberseth.com/blog/2008/08/custom_sort_icons_with_silverl.html
oc APosted Nov 3, 2011, 9:46 AM
I got the solution . I ve added
Now i ve another issue. I am bing a List to the DataGrid.
The list is sorted based on the Notes. But in datagrid , the sort icon is not getting showed in the Notes column. What is the solution for this ?