Is there a way to hide/remove grand summaries in xamdatagrid? I still need the group summaries. But just not grand summary.
A question for Infragistics team:
Can we make the GrandSummary independent of the groupRow summary? As in, can I have GrandSummary set to SUM and groupRow summary set to AVERAGE etc?
SummaryDisplayArea = SummaryDisplayAreas.InGroupByRecords; in c#
or
SummaryDisplayArea="InGroupByRecords" in xaml
Would do the trick for displaying summaries only in the "groupRows".
If you want the summaries displayed in both groupRows as well as 1 single footer row for the whole grid (GrandSummaryRow??), you will have to do the following
SummaryDisplayArea = SummaryDisplayAreas.InGroupByRecords|SummaryDisplayAreas.BottomFixed; in c#
SummaryDisplayArea="InGroupByRecords, BottomFixed"
Hope this helps.
What is the resolution to this please. Please post specific code/xaml. Thx.
Hi Alex,
Unfortunately, doesnot work.
1) If I do, SummaryDisplayArea="InGroupByrecords,None" then I donot get any summary records in top group
2) If I do, SummaryDisplayArea="InGroupByRecords,Bottom" then I get the Total Summary at the end. I need the summary per group, but dont need grand summary. For example if you have 2 groups, then I need sum within each group, but dont need sum across both groups.
3) If I do, SummaryDisplayArea="InGroupByrecords,Top", then I get header being repeated on each group.
I am attaching a sample project for your reference. You can play around with the SummaryDisplayArea and check it out.
Hello,
If you do not want the grand summaries, and only the ones when the records are grouped, you can set the SummaryDisplayArea property to InGroupByRecords and None, like this:
xamDataGrid1.FieldSettings.SummaryDisplayArea = SummaryDisplayAreas.InGroupByRecords | SummaryDisplayAreas.None;
There is a sample for this in the XamFeatureBrowser under XamDataGrid -> Row Summaries -> Summary Location and UI Type.