I've got data that looks something like this...
and would like it to sort it by Section (asc), Subsection (asc) and then Version (desc). In my RadGrid/MasterTableView/SortExpressions section, I add the following...
According to my understanding of this article, the result should be:
But it's not. "Version" is always sorted in ascending order. The only way I can get anything to sort in descending order is if I remove all but that sort expression.
What am I missing?
Thanks for the help.
Section |
SubSection |
Version |
ABC |
Apples |
1 |
DEF |
Pears |
1 |
DEF |
Oranges |
1 |
DEF |
Pears |
2 |
DEF |
Pears |
3 |
and would like it to sort it by Section (asc), Subsection (asc) and then Version (desc). In my RadGrid/MasterTableView/SortExpressions section, I add the following...
<rad:GridSortExpression FieldName="Version" SortOrder="" /> |
<rad:GridSortExpression FieldName="SubSection" SortOrder="Ascending" /> |
<rad:GridSortExpression FieldName="Section" SortOrder="Ascending" /> |
According to my understanding of this article, the result should be:
Section |
SubSection |
Version |
ABC |
Apples |
1 |
DEF |
Oranges |
1 |
DEF |
Pears |
3 |
DEF |
Pears |
2 |
DEF |
Pears |
1 |
But it's not. "Version" is always sorted in ascending order. The only way I can get anything to sort in descending order is if I remove all but that sort expression.
What am I missing?
Thanks for the help.