How do you set a default sorting to Descending when you hit on an unsorted column? I.e.
1. say I have 3 columns name | surname | age
2. the grid is unsorted
3. I click on Surname to sort
4. Instead of sorting in ascending order on a first click, make the grid to be sorted in descending order
Thank you
D
Hi,
Even im checking for the same solution. i dont wanna use external or custom sorting. can i set by default on first click on header to sort the column desc.
is there any alternative solution for this.
I am just checking, if you need any further assistance on this matter.
I was looking into your requirement and I managed to achieve the desired behavior by using external sorting. For more information you could look into the following link from our online documentation:
http://help.infragistics.com/Help/Doc/WPF/2013.2/CLR4.0/html/xamDataGrid_External_Sorting.html
I am attaching a sample application(DataGridCustomSorting.zip) that demonstrates it.
Let me know, if you need any further assistance on this matter.