New to Telerik UI for BlazorStart a free 30-day trial

The group aggregation functions and results

Definition

Namespace:Telerik.DataSource

Assembly:Telerik.DataSource.dll

Syntax:

C#
[KnownType(typeof(AggregateFunctionsGroup))]
public class AggregateFunctionsGroup : Group, IGroup

Inheritance: objectGroupAggregateFunctionsGroup

Implements: IGroup

Inherited Members Group.HasSubgroupsGroup.MemberGroup.ItemCountGroup.SubgroupsGroup.ItemsGroup.Key...

Constructors

C#
public AggregateFunctionsGroup()

Properties

Gets or sets the aggregate functions projection for this group. This projection is used to generate aggregate functions results for this group.

C#
[JsonIgnore]
public object AggregateFunctionsProjection { get; set; }
Property Value:

The aggregate functions projection.

C#
public IDictionary<string, object> Aggregates { get; }

Methods

Gets the aggregate results generated for the given aggregate functions.

C#
public AggregateResultCollection GetAggregateResults(IEnumerable<AggregateFunction> functions)
Parameters:functionsIEnumerable<AggregateFunction>Returns:

AggregateResultCollection

The aggregate results for the provided aggregate functions.

Exceptions:

ArgumentNullException

functions is null.