menu

ASP.NET Core - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PivotViewDisplayOption - ASP.NETCore-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class PivotViewDisplayOption

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    PivotViewDisplayOption
    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

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved