Class TreeGridAggregateColumn
Configures Tree Grid aggregate column.
Inheritance
Namespace: Syncfusion.Blazor.TreeGrid
Assembly: Syncfusion.Blazor.dll
Syntax
public class TreeGridAggregateColumn : OwningComponentBase
Constructors
TreeGridAggregateColumn()
Declaration
public TreeGridAggregateColumn()
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
public string ColumnName { get; set; }
Property Value
Type |
---|
System.String |
Field
Defines the column name to perform aggregation.
Declaration
public string Field { get; set; }
Property Value
Type |
---|
System.String |
FooterTemplate
Defines the footer cell template as a string for the aggregate column.
The Type
name should be used to access aggregate values inside the template.
Declaration
public RenderFragment<object> FooterTemplate { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.RenderFragment<System.Object> |
Format
Format is applied to a calculated value before it is displayed. Gets the format from the user, which can be standard or custom.
Declaration
public string Format { get; set; }
Property Value
Type |
---|
System.String |
Type
Defines the aggregate type of a particular column.
Types of aggregate supported in-built are,
Sum -
Performs sum aggregation.
Average -
Performs average aggregation.
Count -
Performs count aggregation.
FalseCount -
Performes false count aggregation.
TrueCount -
Performes true count aggregation.
Max -
Performes max aggregation.
Min -
Performes min aggregation.
Declaration
public object Type { get; set; }
Property Value
Type |
---|
System.Object |
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder | __builder |
OnInitializedAsync()
Method invoked when the component is ready to start, having received its initial parameters from its parent in the render tree. Override this method if you will perform an asynchronous operation and want the component to refresh when that operation is completed.
Declaration
protected override Task OnInitializedAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A System.Threading.Tasks.Task representing any asynchronous operation. |
OnParametersSetAsync()
Method invoked when the component has received parameters from its parent in the render tree, and the incoming values have been assigned to properties.
Declaration
protected override Task OnParametersSetAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A System.Threading.Tasks.Task representing any asynchronous operation. |