menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PivotViewDisplayOption - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    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.

    Inheritance
    System.Object
    SfBaseComponent
    SfDataBoundComponent
    PivotViewDisplayOption
    Inherited Members
    SfBaseComponent.Dispose()
    SfBaseComponent.Dispose(Boolean)
    SfBaseComponent.OnObservableChange(String, Object, Boolean, NotifyCollectionChangedEventArgs)
    SfDataBoundComponent.DataManager
    SfDataBoundComponent.MainParent
    SfDataBoundComponent.OnAfterRenderAsync(Boolean)
    SfDataBoundComponent.SetDataManager<T>(Object)
    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
    SfDataBoundComponent.OnInitializedAsync()

    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.

    Overrides
    SfDataBoundComponent.OnParametersSetAsync()
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved