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
480
Change the content of Grouped Summary Row of XamDatagrid
posted

Hi, 

I'm looking for a way to change the content of the grouped summary row of a XamDataGrid when I group by a certain field.

Down below is a screenshot displaying my grid. I group the rows using a field called "ID" and the grouped summary row shows content from the same field "ID".

Current view of grouped summary row: 1(2 items),2(1 item),3(2 items),4(1 item).

However, I want the content of the grouped summary row to be showing content of another field "City" which is also unique for each group ( I want to group by ID field only)

Desired output should be Pune(2 items),Hyderabad(1 item),Ajmer(2 items),Patna(1 item).

 

I'm following strict MVVM so cannot plug in any piece of code in code behind. 

Please guide me as to how can I achieve the required output in XAML. 

 Thanks

Parents Reply Children