Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
890
Group By Mode and Sort
posted

Hello,

I use group by Mode in WinGrid (Infragistics 8.3)

I need to group by records accroding to column A but I neeed  to sort them by the summary value of column B when I click on the header of column B.

 I have created my own Groub By Comparer but I do not manage to enter in it when click on the header of a column. It is the same problem after overriding the HeaderClickAction of this column with SortSingle or SortMulti..

The problem is I cannot manage to enter in the GroupByComparer of my column. How can I do that ?

(In fact I enter in the   GroupByComparer only ath the loading on my group By Rows in     the method      Infragistics2.Win.UltraWinGrid.v8.3.dll!Infragistics.Win.UltraWinGrid.RowsCollection.InitGroupByRows() + 0x16a bytes    )

 

How can I enter in this   InitGroupByRows method I click on the Header of a column ?

 Thx



 

Parents
No Data
Reply
  • 37774
    posted

    When you click on a header, the GroupByComparer isn't used as this is only utilized when peforming the actual grouping.  You would need to implement the IComparer interface and set it on the SortComparer property of the column.

    -Matt

Children