Normal 0 false false false EN-GB ZH-CN X-NONE MicrosoftInternetExplorer4
When I collapse a group that contains group summaries all the summaries are aligned to the left (in the samples) and not appearing directly under column headings. For example the total for column A would appear right at the very end of the group header row rather than in the group heading row but under the column name. This feature is supported in the winforms grids.
Is this supported in the WPF grid?
Keith
Hello Keith,
Are you referring to the samples in the XamFeatureBrowser. If that is so, which specific one you have in mind?
Well its any of the samples relating to grouping with summaries. For example, in the grid below you can see a grouping has been applied to 'Commodity Class', then instrument type. You can see below that the grouping for instrument class FX forward has 1 item, Its total 1.791... The group total is displayed in the group header, under the actual column.
however in the WPF grid it looks like this:
I have 2 issues at the moment,
I hope the WPF grid can do this, because the infra grid is looking likely to be the grid of choice for multiple projects going forward.
Thanks for your help,
Oh,right.
This is the FieldLayoutSettings - > HeaderPlacementInGroupBy -> OnTopOnly property.
Thanks for getting back.
The posted sample still has a column row per grouping. So if I expand all groupings I will see 7 sets of column headers. I need a single header row across the top, then when the groups are collapsed the summaries for each column should appear within the collapsed group row under the column the summary applies to.
Is this possible?
Thanks for your time and effort.
Keith,
I think that you are looking for the FieldLayoutSettings -> GroupBySummaryDisplayMode proeprty -> SummaryCellsAlwaysBelowDescription. This will align the summary in the GroupByRecord under the field: