Class PivotFieldListCalculatedFieldSettingBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
PivotFieldListCalculatedFieldSettingBuilder
Namespace: Syncfusion.EJ2.PivotView
Assembly: Syncfusion.EJ2.dll
Syntax
public class PivotFieldListCalculatedFieldSettingBuilder : ControlBuilder
Constructors
PivotFieldListCalculatedFieldSettingBuilder()
Declaration
public PivotFieldListCalculatedFieldSettingBuilder()
PivotFieldListCalculatedFieldSettingBuilder(List<PivotFieldListCalculatedFieldSetting>)
Declaration
public PivotFieldListCalculatedFieldSettingBuilder(List<PivotFieldListCalculatedFieldSetting> collection)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.List<PivotFieldListCalculatedFieldSetting> | collection |
Methods
Add()
Declaration
public void Add()
FormatString(String)
It allows to set format string that used to create calculated member with specified formatted values that to be displayed in the pivot table.
It is applicable only for OLAP data source.
Declaration
public PivotFieldListCalculatedFieldSettingBuilder FormatString(string formatString)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | formatString |
Returns
| Type |
|---|
| PivotFieldListCalculatedFieldSettingBuilder |
Formula(String)
It allows to set the formula/expression to the specified calculated field.
Declaration
public PivotFieldListCalculatedFieldSettingBuilder Formula(string formula)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | formula |
Returns
| Type |
|---|
| PivotFieldListCalculatedFieldSettingBuilder |
HierarchyUniqueName(String)
It allows to set hierarchy unique name, that used to create calculated member.
It is applicable only for OLAP data source.
Declaration
public PivotFieldListCalculatedFieldSettingBuilder HierarchyUniqueName(string hierarchyUniqueName)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | hierarchyUniqueName |
Returns
| Type |
|---|
| PivotFieldListCalculatedFieldSettingBuilder |
Name(String)
It allows to set the field name that used to create as a calculated field.
Declaration
public PivotFieldListCalculatedFieldSettingBuilder Name(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name |
Returns
| Type |
|---|
| PivotFieldListCalculatedFieldSettingBuilder |