Class PivotViewDisplayOptionBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
PivotViewDisplayOptionBuilder
Namespace: Syncfusion.EJ2.PivotView
Assembly: Syncfusion.EJ2.dll
Syntax
public class PivotViewDisplayOptionBuilder : ControlBuilder
Constructors
PivotViewDisplayOptionBuilder()
Declaration
public PivotViewDisplayOptionBuilder()
PivotViewDisplayOptionBuilder(PivotViewDisplayOption)
Declaration
public PivotViewDisplayOptionBuilder(PivotViewDisplayOption model)
Parameters
Type | Name | Description |
---|---|---|
PivotViewDisplayOption | model |
Methods
Primary(Primary)
Allows you to set the primary view to be either table or chart.The available options are:
Table
: Allows you to display the pivot table as primary view.
Chart
: Allows you to display the pivot chart as primary view.
To use this option, it requires the property
view
to be Both.
Declaration
public PivotViewDisplayOptionBuilder Primary(Primary value)
Parameters
Type | Name | Description |
---|---|---|
Primary | value |
Returns
View(View)
Allows you to choose the view port as either table or chart or both table and chart. The available options are:
Table
: Allows you to render the component as tabular form.
Chart
: Allows you to render the component as graphical format.
Both
: Allows you to render the component as both table and chart.
By default, Table is used as a default view in the component.
Declaration
public PivotViewDisplayOptionBuilder View(View value)
Parameters
Type | Name | Description |
---|---|---|
View | value |