Skip to main content

DxSummaryItemBase<TModel>.GroupSummaryPosition Property

Specifies the group summary item’s position.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

NuGet Package: DevExpress.Blazor


public GroupSummaryPosition GroupSummaryPosition { get; set; }

Property Value

Type Default Description
GroupSummaryPosition GroupRow

A GroupSummaryPosition enumeration value.

Available values:

Name Description

The summary is displayed in parentheses after the group header.


The summary is displayed in the group footer under the target column.


To calculate group summaries in the Data Grid, add DxDataGridSummaryItem objects to the GroupSummary collection. Use the GroupSummaryPosition property to position group summaries. The following values are available:


This property is not in effect if the summary item is added to the TotalSummary collection.

<DxDataGrid Data="@Data" ShowGroupPanel="true">
        <DxDataGridColumn Field="@nameof(Invoice.Country)" GroupIndex="0" Width="200px" />
        <DxDataGridColumn Field="@nameof(Invoice.City)" GroupIndex="1" Width="200px" />
        <DxDataGridColumn Field="@nameof(Invoice.CustomerName)" />
        <DxDataGridSpinEditColumn Field="@nameof(Invoice.UnitPrice)" DisplayFormat="c" Width="120px" />
        <DxDataGridSpinEditColumn Field="@nameof(Invoice.Quantity)" Width="120px" />
        <DxDataGridSummaryItem SummaryType="SummaryItemType.Count" Field="@nameof(Invoice.CustomerName)" DisplayFormat="Count is {0}" />
        <DxDataGridSummaryItem SummaryType="SummaryItemType.Avg" Field="@nameof(Invoice.Quantity)" DisplayFormat="Avg of Quantity is {0:0.##}" />

Data Grid Group Summary Position

Run Demo: Data Grid - Group Summary

See Also