Class TreeGridSummaryRowsBuilder
Inheritance
System.Object
TreeGridSummaryRowsBuilder
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 TreeGridSummaryRowsBuilder
Constructors
TreeGridSummaryRowsBuilder(TreeGridProperties)
Initializes a new instance of the
Declaration
public TreeGridSummaryRowsBuilder(TreeGridProperties treegrid)
Parameters
Type | Name | Description |
---|---|---|
TreeGridProperties | treegrid | 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()
SummaryColumns(Action<TreeGridSummaryColumnBuilder>)
It sets a value that indicates whether to add summary columns into the summary rows.
Declaration
public TreeGridSummaryRowsBuilder SummaryColumns(Action<TreeGridSummaryColumnBuilder> summaryColumn)
Parameters
Type | Name | Description |
---|---|---|
System.Action<TreeGridSummaryColumnBuilder> | summaryColumn | It displays the list of summary columns into summaryRows through lambda expression |
Returns
Type | Description |
---|---|
TreeGridSummaryRowsBuilder | TreeGridSummaryRowsBuilder |
SummaryColumns(List<TreeGridSummaryColumn>)
It sets a value that indicates whether to add summary columns into the summary rows.
Declaration
public TreeGridSummaryRowsBuilder SummaryColumns(List<TreeGridSummaryColumn> summaryColumn)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<TreeGridSummaryColumn> | summaryColumn | It displays the list of summary columns into summaryRows |
Returns
Type | Description |
---|---|
TreeGridSummaryRowsBuilder | TreeGridSummaryRowsBuilder |
Title(String)
It sets a value to show the title for the summary rows.
Declaration
public TreeGridSummaryRowsBuilder 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 |
---|---|
TreeGridSummaryRowsBuilder | TreeGridSummaryRowsBuilder |