alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class GridAggregateColumn

    Configures grid aggregate column.

    Inheritance
    object
    ComponentBase
    OwningComponentBase
    SfOwningComponentBase
    GridAggregateColumn
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    Inherited Members
    ComponentBase.Assets
    ComponentBase.AssignedRenderMode
    ComponentBase.DispatchExceptionAsync(Exception)
    ComponentBase.InvokeAsync(Action)
    ComponentBase.InvokeAsync(Func<Task>)
    ComponentBase.OnAfterRender(bool)
    ComponentBase.OnAfterRenderAsync(bool)
    ComponentBase.OnInitialized()
    ComponentBase.OnParametersSet()
    ComponentBase.RendererInfo
    ComponentBase.SetParametersAsync(ParameterView)
    ComponentBase.ShouldRender()
    ComponentBase.StateHasChanged()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    OwningComponentBase.Dispose(bool)
    OwningComponentBase.IsDisposed
    OwningComponentBase.ScopedServices
    Namespace: Syncfusion.Blazor.Grids
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class GridAggregateColumn : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

    Constructors

    GridAggregateColumn()

    Declaration
    public GridAggregateColumn()

    Properties

    ColumnName

    Defines the column name to display the aggregate value. If ColumnName is not defined, then Field name value will be assigned to the ColumnName` property.

    Declaration
    [Parameter]
    public string ColumnName { get; set; }
    Property Value
    Type
    string

    Field

    Defines the column name to perform aggregation.

    Declaration
    [Parameter]
    public string Field { get; set; }
    Property Value
    Type
    string

    FooterTemplate

    Defines the cell template for the footer aggregate column. The Type name should be used to access aggregate values inside the template.

    Declaration
    [Parameter]
    public RenderFragment<object> FooterTemplate { get; set; }
    Property Value
    Type
    RenderFragment<object>
    Remarks

    The parameters passed to the templates can be accessed using implicit parameter named context. The context is of type AggregateTemplateContext.

    Format

    Format is applied to a calculated value before it is displayed. Gets the format from the user, which can be standard or custom formats.

    Declaration
    [Parameter]
    public string Format { get; set; }
    Property Value
    Type
    string

    GroupCaptionTemplate

    Defines the cell template for the group caption aggregate column. The Type name should be used to access aggregate values inside the template.

    Declaration
    [Parameter]
    public RenderFragment<object> GroupCaptionTemplate { get; set; }
    Property Value
    Type
    RenderFragment<object>
    Remarks

    The parameters passed to the templates can be accessed using implicit parameter named context. The context is of type AggregateTemplateContext.

    GroupFooterTemplate

    Defines the cell template for the group footer aggregate column. The Type name should be used to access aggregate values inside the template.

    Declaration
    [Parameter]
    public RenderFragment<object> GroupFooterTemplate { get; set; }
    Property Value
    Type
    RenderFragment<object>
    Remarks

    The parameters passed to the templates can be accessed using implicit parameter named context. The context is of type AggregateTemplateContext.

    Type

    Defines the aggregate type of a particular column. Types of aggregate supported in-built are,.

    • SumPerformes sum aggregation.
    • AveragePerformes average aggregation.
    • CountPerformes count aggregation.
    • FalseCountPerformes false count aggregation.
    • TrueCountPerformes true count aggregation.
    • MaxPerformes max aggregation.
    • MinPerformes min aggregation.
    Declaration
    [Parameter]
    public object Type { get; set; }
    Property Value
    Type
    object

    Methods

    BuildRenderTree(RenderTreeBuilder)

    Declaration
    protected override void BuildRenderTree(RenderTreeBuilder __builder)
    Parameters
    Type Name Description
    RenderTreeBuilder __builder
    Overrides
    ComponentBase.BuildRenderTree(RenderTreeBuilder)

    OnInitializedAsync()

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type
    Task
    Overrides
    ComponentBase.OnInitializedAsync()

    OnParametersSetAsync()

    Declaration
    protected override Task OnParametersSetAsync()
    Returns
    Type
    Task
    Overrides
    ComponentBase.OnParametersSetAsync()

    Implements

    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved