Class PivotFieldListValueSortSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
PivotFieldListValueSortSettingsBuilder
Namespace: Syncfusion.EJ2.PivotView
Assembly: Syncfusion.EJ2.dll
Syntax
public class PivotFieldListValueSortSettingsBuilder : ControlBuilder
Constructors
PivotFieldListValueSortSettingsBuilder()
Declaration
public PivotFieldListValueSortSettingsBuilder()
PivotFieldListValueSortSettingsBuilder(PivotFieldListValueSortSettings)
Declaration
public PivotFieldListValueSortSettingsBuilder(PivotFieldListValueSortSettings model)
Parameters
Type | Name | Description |
---|---|---|
PivotFieldListValueSortSettings | model |
Methods
HeaderDelimiter(String)
It allows to set the delimiter, which is used a separator to split the given header text.
Declaration
public PivotFieldListValueSortSettingsBuilder 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 PivotFieldListValueSortSettingsBuilder 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 PivotFieldListValueSortSettingsBuilder 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 PivotFieldListValueSortSettingsBuilder SortOrder(Sorting value)
Parameters
Type | Name | Description |
---|---|---|
Sorting | value |