Causes the grid to calculate aggregate values on the column and place them in the group header and footer rows. If the grid does not contain any groups, setting the Aggregate property has no effect.

Namespace:  C1.Web.UI.Controls.C1GridView
Assembly:  C1.Web.UI.Controls.2 (in C1.Web.UI.Controls.2.dll)

Syntax

C#
[JsonAttribute(true, true, AggregateEnum.None)]
[DefaultValueAttribute(AggregateEnum.None)]
public AggregateEnum Aggregate { get; set; }
Visual Basic
<JsonAttribute(True, True, AggregateEnum.None)> _
<DefaultValueAttribute(AggregateEnum.None)> _
Public Property Aggregate As AggregateEnum
	Get
	Set

Field Value

One of the AggregateEnum values. The default value is None.

Remarks

The aggregate value displayed in the group header/footer rows is formatted using the column's DataFormatString property, except for Counts which are displayed as integers without decimals.

See Also