GridColumnTotal.TotalType Property
Gets or sets the summary function type used to calculate a total for the Grid column.
Namespace: DevExpress.DashboardCommon
Assembly: DevExpress.Dashboard.v24.2.Core.dll
NuGet Package: DevExpress.Dashboard.Core
#Declaration
[DefaultValue(GridColumnTotalType.Count)]
public GridColumnTotalType TotalType { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Grid |
Count | A Grid |
Available values:
Name | Description |
---|---|
Auto | The total is calculated based on values of the corresponding data field from the underlying data source. In this case, the Measure. |
Count | The number of records. |
Min | The minimum value in a column. |
Max | The maximum value in a column. |
Avg | The average value of a column. |
Sum | The sum of all values in a column. |
#Remarks
You can calculate totals for all types of grid columns (GridColumnBase descendants), but each column type supports only a specified set of summary functions used to calculate totals. The table below lists the total types supported by different grid columns.
Column Type | Supported Total Types |
---|---|
All types listed in the Grid | |