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.v21.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.

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

GridMeasureColumn

All types listed in the GridColumnTotalType enumeration.

GridDimensionColumn

GridColumnTotalType.Min

GridColumnTotalType.Max

GridColumnTotalType.Count

GridDeltaColumn

GridColumnTotalType.Count

GridSparklineColumn

GridColumnTotalType.Count

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the TotalType 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.

See Also