Class PivotViewDisplayOption
Allow options to configure the view port as either pivot table or pivot chart or both table and chart. The options available are:
View
: Allows you to choose the view port as either pivot table or pivot chart or both table and chart.
Primary
: Allows you to set the primary view to be either pivot table or pivot chart. To use this option, it requires the property view
to be Both.
Inherited Members
Namespace: Syncfusion.Blazor.PivotView
Assembly: Syncfusion.Blazor.dll
Syntax
public class PivotViewDisplayOption : SfDataBoundComponent
Constructors
PivotViewDisplayOption()
Declaration
public PivotViewDisplayOption()
Properties
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 |
---|
Primary |
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 |
---|
View |
Methods
OnInitializedAsync()
Method invoked when the component is ready to start, having received its initial parameters from its parent in the render tree. Override this method if you will perform an asynchronous operation and want the component to refresh when that operation is completed.
Declaration
protected override Task OnInitializedAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A System.Threading.Tasks.Task representing any asynchronous operation. |
Overrides
OnParametersSetAsync()
Method invoked when the component has received parameters from its parent in the render tree, and the incoming values have been assigned to properties.
Declaration
protected override Task OnParametersSetAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A System.Threading.Tasks.Task representing any asynchronous operation. |