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.v18.2.Core.dll
Declaration
[DefaultValue(GridColumnTotalType.Count)]
public GridColumnTotalType TotalType { get; set; }
Property Value
Type | Default | Description |
---|---|---|
GridColumnTotalType | **Count** | A GridColumnTotalType enumeration value specifying the total type. |
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.SummaryType property value is taken into account to calculate the total. |
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 GridColumnTotalType enumeration. | |