menu

ASP.NET Web Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SummaryRowsBuilder<T>

    Show / Hide Table of Contents

    Class SummaryRowsBuilder<T>

    Inheritance
    System.Object
    SummaryRowsBuilder<T>
    Inherited Members
    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.JavaScript
    Assembly: Syncfusion.EJ.dll
    Syntax
    public class SummaryRowsBuilder<T>
        where T : class
    Type Parameters
    Name Description
    T

    Constructors

    SummaryRowsBuilder(GridProperties)

    Initializes a new instance of the SummaryRowsBuilder<T> class.

    Declaration
    public SummaryRowsBuilder(GridProperties grid)
    Parameters
    Type Name Description
    GridProperties grid

    It displays the list of summary rows.

    Methods

    Add()

    Adds the summary value to be displayed in a row into Summary Rows.

    Declaration
    public void Add()

    ShowCaptionSummary()

    It sets a value that indicates whether to show the summary value within the group caption area for the corresponding summary column while grouping the column

    Declaration
    public SummaryRowsBuilder<T> ShowCaptionSummary()
    Returns
    Type Description
    SummaryRowsBuilder<T>

    SummaryRowsBuilder

    ShowCaptionSummary(Boolean)

    It sets a value that indicates whether to show the summary value within the group caption area for the corresponding summary column while grouping the column

    Declaration
    public SummaryRowsBuilder<T> ShowCaptionSummary(bool showCaptionSummary)
    Parameters
    Type Name Description
    System.Boolean showCaptionSummary

    It accepts the boolean value and enables or disables the caption for summary

    Returns
    Type Description
    SummaryRowsBuilder<T>

    SummaryRowsBuilder

    ShowGroupSummary()

    It sets a value that indicates whether to show the group summary value for the corresponding summary column while grouping a column

    Declaration
    public SummaryRowsBuilder<T> ShowGroupSummary()
    Returns
    Type Description
    SummaryRowsBuilder<T>

    SummaryRowsBuilder

    ShowGroupSummary(Boolean)

    It sets a value that indicates whether to show the group summary value for the corresponding summary column while grouping a column

    Declaration
    public SummaryRowsBuilder<T> ShowGroupSummary(bool showGroupSummary)
    Parameters
    Type Name Description
    System.Boolean showGroupSummary

    It accepts the boolean value and enables or disables group summary

    Returns
    Type Description
    SummaryRowsBuilder<T>

    SummaryRowsBuilder

    ShowTotalSummary()

    It sets a value that indicates whether to show the total summary value the for the corresponding summary column. The summary row is added after the grid content.

    Declaration
    public SummaryRowsBuilder<T> ShowTotalSummary()
    Returns
    Type Description
    SummaryRowsBuilder<T>

    SummaryRowsBuilder

    ShowTotalSummary(Boolean)

    It sets a value that indicates whether to show the total summary value the for the corresponding summary column. The summary row is added after the grid content.

    Declaration
    public SummaryRowsBuilder<T> ShowTotalSummary(bool showTotalSummary)
    Parameters
    Type Name Description
    System.Boolean showTotalSummary

    It accepts the boolean value and enables or disables total summary

    Returns
    Type Description
    SummaryRowsBuilder<T>

    SummaryRowsBuilder

    SummaryColumns(Action<SummaryColumnBuilder<T>>)

    It sets a value that indicates whether to add summary columns into the summary rows.

    Declaration
    public SummaryRowsBuilder<T> SummaryColumns(Action<SummaryColumnBuilder<T>> summaryColumn)
    Parameters
    Type Name Description
    System.Action<SummaryColumnBuilder<T>> summaryColumn

    It displays the list of summary columns into summaryRows through lambda expression

    Returns
    Type Description
    SummaryRowsBuilder<T>

    SummaryRowsBuilder

    SummaryColumns(List<SummaryColumn>)

    Gets or sets a value that indicates whether to add summary columns into the summary rows.

    Declaration
    public SummaryRowsBuilder<T> SummaryColumns(List<SummaryColumn> summaryColumn)
    Parameters
    Type Name Description
    System.Collections.Generic.List<SummaryColumn> summaryColumn

    It displays the list of summary columns into summaryRows

    Returns
    Type Description
    SummaryRowsBuilder<T>

    SummaryRowsBuilder

    Title(String)

    This specifies the grid to show the title for the summary rows.

    Declaration
    public SummaryRowsBuilder<T> Title(string title)
    Parameters
    Type Name Description
    System.String title

    It accepts the string value and displays the title for summary rows

    Returns
    Type Description
    SummaryRowsBuilder<T>

    SummaryRowsBuilder

    TitleColumn(String)

    This specifies the grid to show the title of summary row in the specified column.

    Declaration
    public SummaryRowsBuilder<T> TitleColumn(string titleColumn)
    Parameters
    Type Name Description
    System.String titleColumn

    It accepts the string value and displays the title for specified column

    Returns
    Type Description
    SummaryRowsBuilder<T>

    SummaryRowsBuilder

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved