Class PivotViewValueSortSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
PivotViewValueSortSettingsBuilder
Namespace: Syncfusion.EJ2.PivotView
Assembly: Syncfusion.EJ2.dll
Syntax
public class PivotViewValueSortSettingsBuilder : ControlBuilder
Constructors
PivotViewValueSortSettingsBuilder()
Declaration
public PivotViewValueSortSettingsBuilder()
PivotViewValueSortSettingsBuilder(PivotViewValueSortSettings)
Declaration
public PivotViewValueSortSettingsBuilder(PivotViewValueSortSettings model)
Parameters
Type | Name | Description |
---|---|---|
PivotViewValueSortSettings | model |
Methods
HeaderDelimiter(String)
It allows to set the delimiter, which is used a separator to split the given header text.
Declaration
public PivotViewValueSortSettingsBuilder HeaderDelimiter(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
HeaderText(String)
It allows to set the member name of a specific field for value sorting.
Declaration
public PivotViewValueSortSettingsBuilder HeaderText(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
Measure(String)
It allows to set the measure name to achieve value sorting based on this.
It is applicable only for OLAP data source.
Declaration
public PivotViewValueSortSettingsBuilder Measure(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
SortOrder(Sorting)
Allows to apply sorting to the specified field either by ascending or descending. The types are,
Ascending
: It allows to display the field members in ascending order.
Descending
: It allows to display the field members in descending order.
Declaration
public PivotViewValueSortSettingsBuilder SortOrder(Sorting value)
Parameters
Type | Name | Description |
---|---|---|
Sorting | value |