GridOptionsBehavior.AlignGroupSummaryInGroupRow Property
Gets or sets whether to forcibly move group footer summaries (which reside in group footers) to positions in group rows under corresponding column headers. Group footers will be hidden as a result. This feature is supported for the GridView and BandedGridView.
Namespace: DevExpress.XtraGrid.Views.Grid
Assembly: DevExpress.XtraGrid.v18.2.dll
Declaration
[DefaultValue(DefaultBoolean.Default)]
[XtraSerializableProperty]
public virtual DefaultBoolean AlignGroupSummaryInGroupRow { get; set; }
Property Value
Type | Default | Description |
---|---|---|
DefaultBoolean | **Default** | A value that specifies whether to display group footer summaries in group rows under corresponding column headers. |
Available values:
Name | Description |
---|---|
True | Corresponds to a Boolean value of true. |
False | Corresponds to a Boolean value of false. |
Default | The value is determined by the current object’s parent object setting (e.g., a control setting). |
Property Paths
You can access this nested property as listed below:
Object Type | Path to AlignGroupSummaryInGroupRow |
---|---|
GridView |
|
Remarks
When this feature is enabled, the following takes place:
Group summaries displayed in group footer cells are moved to positions in group rows under corresponding column headers.
Note
Group summaries are hidden for the following columns, unless you set their GridGroupSummaryItem.ShowInGroupColumnFooter properties to null:
- The columns used to group data.
- “Fixed” columns (see GridColumn.Fixed).
- Group footers are hidden.
- Grouped column headers are displayed in the Group Panel and Column Header Panel simultaneously (regardless of the GridOptionsView.ShowGroupedColumns setting).
The feature of displaying group footer summaries in group rows under corresponding columns is supported for the GridView and BandedGridView. This feature is enabled in the following cases:
- the AlignGroupSummaryInGroupRow property is set to True
- the AlignGroupSummaryInGroupRow property is set to Default and the GridOptionsBehavior.AllowPartialGroups option is set to True.
End-users can change existing summaries or apply new summaries using a context menu invoked by right-clicking group row cells.
Note
The AdvBandedGridView does not support the functionality encapsulated by the AlignGroupSummaryInGroupRow property.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AlignGroupSummaryInGroupRow property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.