This is a migrated thread and some comments may be shown as answers.

Sort by aggregate values

1 Answer 85 Views
PivotGrid
This is a migrated thread and some comments may be shown as answers.
hamish
Top achievements
Rank 1
hamish asked on 28 Jul 2014, 03:00 PM
Please see attached image. I want to be able to sort by the values in these fields. I have read all of the articles and see plenty about column group description sorting but nothing about aggregate value sorting - is this possible and if so how?

Thanks

1 Answer, 1 is accepted

Sort by
0
Rosen Vladimirov
Telerik team
answered on 30 Jul 2014, 06:35 AM
Hello Hamish,

You cannot sort the aggregates as they are only values in cells. However you can sort the Group Descritptions (in rows and columns) based on the values in the cells. You just have to use GrandTotalComparer as shown in this article.

Hope this helps.

Regards,
Rosen Vladimirov
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
PivotGrid
Asked by
hamish
Top achievements
Rank 1
Answers by
Rosen Vladimirov
Telerik team
Share this question
or