hi,
I did some searching but couldn't find anything that would suit my needs.
What I am looking for is to have summary values displayed in the GroupRow, aligned with its column header as seen in the screenshot below.
I am on version 14.2.
Thank you
Srikar
Thanks, this seems to be working. But how viable is this solution, this seems more like a hack. How would the application behave when re-sizing columns/windows/grids?
Also, one more question, can we remove the item count text on groupRow "(x items)"?
Great, seems promising, I will try it out soon and get back to you.
Thanks!
Hello Srikar,
After researching this, I have come across another forum post which discusses a very similar issue as the one in your most recent response. Here is a link to that forum thread: http://es.infragistics.com/community/forums/t/32301.aspx.
The important part of this forum thread is a sample named WPF_SummariesInGroupedRecord. For your convenience, I have attached a 14.2-convert of that sample to this post. The GroupByRecordPresenter has a StackPanel in its control template that is oriented vertically, and this is what is creating this offset that you are seeing. Inside of this StackPanel, there is a GroupBySummariesPresenter, which shows the summaries. If you put a negative margin or a render transform on this GroupBySummariesPresenter to move it upward, you can place the summaries in line with the header.
Please let me know if you have any other questions or concerns on this matter.
Sincerely,AndrewAssociate DeveloperInfragistics Inc.www.infragistics.com/support
Yes, that works to an extent.
But the "SummaryCellsAlwaysBelowDescription" setting adds a new row below the groupRow to show summaries aligned with column header (as can be seen in the image attached). Not only does this waste space, but also does not look good with large datasets.
Instead, it would be great if you could show me a way to have summaries on groupRow itself (in the redBox or like in the screenshot attached on my 1st post), saving a lot of space.
Thank you for your post.
To have the summaries of a XamDataGrid show up in the group row, aligned with their corresponding columns, I would recommend that you first set the SummaryDisplayArea in the XamDataGrid.FieldSettings to "InGroupByRecords." Next, in the XamDataGrid.FieldLayoutSettings, if you set the GroupBySummaryDisplayMode to "SummaryCellsAlwaysBelowDescription", you will have the summaries be in the group-by records aligned with the columns in the XamDataGrid.