Is it possible to sort grid by by group summaries ?Currently when I'm clicking column header it performs sorting only withing the groups
I strongly need option to sort by group summaries - eg on below screen - by percentages
(Infragistics 10.1)
Hello ,
What you could do in your case is to implement ICoparer interface in order to provide custom logic for sorting of groupByrows. On the following link you will find simple tutorial of how to implement this interface:
http://help.infragistics.com/doc/WinForms/2014.1/CLR4.0/?page=Infragistics4.Win.UltraWinGrid.v14.1~Infragistics.Win.UltraWinGrid.UltraGridColumn~GroupByComparer.html
So when you group the grid on, it will sort the groupby rows based on the implementation of ICoparer. I’ve implemented simple sample in order to demonstrate you this approach
I hope that this will helps you.
I did some tests and seems this can work :)
Thanks for help!
Maciej
Hello,
Thank you for your feedback. Please do not hesitate to contact with us if you have any further questions regarding this matter.
Thank you for using Infragistics Components.