Class PivotViewDisplayOption
Inheritance
Namespace: Syncfusion.EJ2.PivotView
Assembly: Syncfusion.EJ2.dll
Syntax
public class PivotViewDisplayOption : EJTagHelper
Constructors
PivotViewDisplayOption()
Declaration
public PivotViewDisplayOption()
Properties
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
Property Value
Type |
---|
Syncfusion.EJ2.MvcTemplate<System.Object> |
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 Primary Primary { get; set; }
Property Value
Type | Description |
---|---|
Primary | The default value is Syncfusion.EJ2.PivotView.Primary.Table |
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 View View { get; set; }
Property Value
Type | Description |
---|---|
View | The default value is Syncfusion.EJ2.PivotView.View.Table |