Class
GridAggregate

Definition

Constructors

GridAggregate()

Declaration

cs-api-definition
public GridAggregate()

Properties

Aggregate

The calculation method to apply to the field data. Use Sum, Average, Count, Min, or Max to perform different mathematical operations.

Declaration

cs-api-definition
[Parameter]
public GridAggregateType Aggregate { get; set; }

Property Value

GridAggregateType

Implements IGridAggregate.Aggregate

Field

The data field name to calculate aggregate values for. This should match a property name in your data model.

Declaration

cs-api-definition
[Parameter]
public string Field { get; set; }

Property Value

string

Implements IGridAggregate.Field

FieldType

The data type of the field being aggregated. This helps ensure proper calculations for numeric, date, and string fields.

Declaration

cs-api-definition
[Parameter]
public Type FieldType { get; set; }

Property Value

Type

Implements IGridAggregate.FieldType

Methods

BuildRenderTree(RenderTreeBuilder)

Declaration

cs-api-definition
protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder

RenderTreeBuilder

Overrides ComponentBase.BuildRenderTree(RenderTreeBuilder)

Dispose()

Declaration

cs-api-definition
public void Dispose()

Implements IDisposable.Dispose()

OnInitialized()

Declaration

cs-api-definition
protected override void OnInitialized()

Overrides ComponentBase.OnInitialized()