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
HI,
Please let me kmow if you need further assistance regarding this thread.
Sincerley,
Matt Developer Support Engineer
I am attaching a sample what will change the size of the labels in the GroupByAreaMulti.
Sincerely,
Matt Developer Support Engineeer
Thanks. I'm still seeking an answer to how do I change the style (shape and size) of the icons in the groupby area?
HI KomaID,
You can change the description of the GroupByArea by channging the Prompt1 and Prompt2 properties.
<Style TargetType="{x:Type igDP:GroupByAreaMulti}">
<Setter Property="Height" Value="125"/>
Setter Property="Prompt1" Value="Hello"/>
<Setter Property="Prompt2" Value="yes"/>
</Style>
Thanks!
In the screenshot below, I'm looking for a way to minimize the size of grouping field icon (ID here) and also change the content of empty group by area.
Please guide me with the same.