Class PivotViewValueSortSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
PivotViewValueSortSettingsBuilder
Assembly: Syncfusion.EJ2.dll
Syntax
public class PivotViewValueSortSettingsBuilder : ControlBuilder
Constructors
PivotViewValueSortSettingsBuilder()
Declaration
public PivotViewValueSortSettingsBuilder()
PivotViewValueSortSettingsBuilder(PivotViewValueSortSettings)
Declaration
public PivotViewValueSortSettingsBuilder(PivotViewValueSortSettings model)
Parameters
Methods
ColumnHeaderText(String)
Defines the header text of the column field for which value-based sorting is applied (Relational).
Declaration
public PivotViewValueSortSettingsBuilder ColumnHeaderText(string value)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
Returns
ColumnSortOrder(Sorting)
Sets the sorting order for the specified column header field (Relational).
Declaration
public PivotViewValueSortSettingsBuilder ColumnSortOrder(Sorting value)
Parameters
| Type |
Name |
Description |
| Sorting |
value |
|
Returns
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
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
Defines the header text of the row field for which value-based sorting is applied (Relational).
Declaration
public PivotViewValueSortSettingsBuilder RowHeaderText(string value)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
Returns
RowSortOrder(Sorting)
Sets the sorting order for the specified row header field (Relational).
Declaration
public PivotViewValueSortSettingsBuilder RowSortOrder(Sorting value)
Parameters
| Type |
Name |
Description |
| Sorting |
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 |
|
Returns