Class PivotViewSortSettingBuilder
Inheritance
System.Object
PivotViewSortSettingBuilder
Assembly: Syncfusion.EJ2.dll
Syntax
public class PivotViewSortSettingBuilder : ControlBuilder
Constructors
PivotViewSortSettingBuilder()
Declaration
public PivotViewSortSettingBuilder()
PivotViewSortSettingBuilder(List<PivotViewSortSetting>)
Declaration
public PivotViewSortSettingBuilder(List<PivotViewSortSetting> collection)
Parameters
Methods
Add()
Declaration
Name(String)
Allows to set the field name to order their members either in ascending or descending in the pivot table.
Declaration
public PivotViewSortSettingBuilder Name(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Order(Sorting)
Allows to apply sorting to the specified field either by ascending or descending or JSON order. 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.
None
: It allows to display the field members based on JSON order.
Declaration
public PivotViewSortSettingBuilder Order(Sorting order)
Parameters
Type |
Name |
Description |
Sorting |
order |
|
Returns