ASP.NET MVC - EJ2

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TreeGridAggregateColumn

    Show / Hide Table of Contents

    Class TreeGridAggregateColumn

    Inheritance
    System.Object
    TagHelper
    EJTagHelper
    TreeGridAggregateColumn
    Inherited Members
    EJTagHelper.GetList()
    EJTagHelper.GetSerializedProperties()
    EJTagHelper.GetScriptString()
    EJTagHelper.GetHtmlAttrString(IDictionary<String, Object>)
    EJTagHelper.TagName
    EJTagHelper.Id
    EJTagHelper.NameSpace
    EJTagHelper.ClassName
    EJTagHelper.IsFor
    EJTagHelper.IsComplex
    EJTagHelper.IsCollection
    EJTagHelper.ParentPropertyName
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.EJ2.TreeGrid
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class TreeGridAggregateColumn : EJTagHelper

    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
    [HtmlAttributeName("columnName")]
    public string ColumnName { get; set; }
    Property Value
    Type Description
    System.String

    CustomAggregate

    Defines a function to calculate custom aggregate value. The type value should be set to custom. To use custom aggregate value in the template, use the key as ${custom}. Total aggregation: The custom function will be called with the whole data and the current AggregateColumn object. Group aggregation: This will be called with the current group details and the AggregateColumn object.

    Declaration
    [HtmlAttributeName("customAggregate")]
    public object CustomAggregate { get; set; }
    Property Value
    Type Description
    System.Object

    Field

    Defines the column name to perform aggregation.

    Declaration
    [HtmlAttributeName("field")]
    public string Field { get; set; }
    Property Value
    Type Description
    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
    [HtmlAttributeName("footerTemplate")]
    public string FooterTemplate { get; set; }
    Property Value
    Type Description
    System.String

    Format

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

    Declaration
    [HtmlAttributeName("format")]
    public string Format { get; set; }
    Property Value
    Type Description
    System.String

    IsChild

    Declaration
    protected override bool IsChild { get; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    EJTagHelper.IsChild

    Type

    Defines the aggregate type of a particular column. To use multiple aggregates for single column, specify the type as array. Types of aggregate are, sum average max min count falsecount truecount custom

    Specify the type value as custom to use custom aggregation.

    Declaration
    [HtmlAttributeName("type")]
    public string Type { get; set; }
    Property Value
    Type Description
    System.String
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved