Class TreeGridSummaryColumnBuilder
Inheritance
Inherited Members
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class TreeGridSummaryColumnBuilder
Constructors
TreeGridSummaryColumnBuilder(TreeGridSummaryRow)
Initializes a new instance of the
Declaration
public TreeGridSummaryColumnBuilder(TreeGridSummaryRow summaryRow)
Parameters
Type | Name | Description |
---|---|---|
TreeGridSummaryRow | summaryRow | It displays the list of summary row collections |
Methods
Add()
Adds the summary column details in summary row
Declaration
public void Add()
CustomSummaryValue(String)
Gets or sets a value that indicates the text displayed in the summary column as a value
Declaration
public TreeGridSummaryColumnBuilder CustomSummaryValue(string customSummaryValue)
Parameters
Type | Name | Description |
---|---|---|
System.String | customSummaryValue | It accepts the string value and displays the text in the summarycolumn |
Returns
Type | Description |
---|---|
TreeGridSummaryColumnBuilder | TreeGridSummaryColumnBuilder |
DataMember(String)
This specifies summary column used to perform the summary calculation
Declaration
public TreeGridSummaryColumnBuilder DataMember(string dataMember)
Parameters
Type | Name | Description |
---|---|---|
System.String | dataMember | It accepts the sring value and in which it performs summary calculation |
Returns
Type | Description |
---|---|
TreeGridSummaryColumnBuilder | TreeGridSummaryColumnBuilder |
DisplayColumn(String)
Gets or sets a value that indicates the target column to display the summary.
Declaration
public TreeGridSummaryColumnBuilder DisplayColumn(string displayColumn)
Parameters
Type | Name | Description |
---|---|---|
System.String | displayColumn | It accepts the string value that indicates the target column to display the summary. |
Returns
Type | Description |
---|---|
TreeGridSummaryColumnBuilder | TreeGridSummaryColumnBuilder |
Format(String)
Gets or sets a value that indicates the format for the text applied on the column
Declaration
public TreeGridSummaryColumnBuilder Format(string format)
Parameters
Type | Name | Description |
---|---|---|
System.String | format | It accepts the string value and displays the format for the text |
Returns
Type | Description |
---|---|
TreeGridSummaryColumnBuilder | TreeGridSummaryColumnBuilder |
Prefix(String)
Gets or sets a value that indicates the text displayed before the summary column value
Declaration
public TreeGridSummaryColumnBuilder Prefix(string prefix)
Parameters
Type | Name | Description |
---|---|---|
System.String | prefix | It accepts the string value and displays the text before the summary column value |
Returns
Type | Description |
---|---|
TreeGridSummaryColumnBuilder | TreeGridSummaryColumnBuilder |
Suffix(String)
Gets or sets a value that indicates the text displayed after summary column value
Declaration
public TreeGridSummaryColumnBuilder Suffix(string suffix)
Parameters
Type | Name | Description |
---|---|---|
System.String | suffix | It accepts the string value and displays the text after summary column value |
Returns
Type | Description |
---|---|
TreeGridSummaryColumnBuilder | TreeGridSummaryColumnBuilder |
SummaryType(TreeGridSummaryType)
Gets or sets a value that indicates the type of calculations to be performed for the corresponding summary column
Declaration
public TreeGridSummaryColumnBuilder SummaryType(TreeGridSummaryType summaryType)
Parameters
Type | Name | Description |
---|---|---|
TreeGridSummaryType | summaryType | It displays the list of enum summaryType options |
Returns
Type | Description |
---|---|
TreeGridSummaryColumnBuilder | TreeGridSummaryColumnBuilder |