menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class PivotViewPivotSelectionSettings

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    PivotViewPivotSelectionSettings
    Namespace: Syncfusion.EJ2.PivotView
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class PivotViewPivotSelectionSettings : EJTagHelper

    Constructors

    PivotViewPivotSelectionSettings()

    Declaration
    public PivotViewPivotSelectionSettings()

    Properties

    CellSelectionMode

    Allow options to customize the mode of selection to highlight either row wise or column wise or specific cell in the pivot table. For example, to apply the selection that includes in between cells of rows within the range, set the property cellSelectionMode to Box. The modes available are: Flow: Allows the range of cells to be selected between the start index and the end index, which also includes the other cells of the selected rows in the pivot table. Box: Allows you to select a range of cells within the starting and ending column indexes that are included in the range between row cells in the pivot table. BoxWithBorder: Allows the range of cells to be selected as the box mode, but along with the borders in the pivot table.

    Declaration
    public PivotCellSelectionMode CellSelectionMode { get; set; }
    Property Value
    Type Description
    PivotCellSelectionMode

    The default value is PivotCellSelectionMode.Flow

    CheckboxMode

    Allow options to customize the checkbox selection mode in the pivot table. For example, to select multiple rows one by one through simple clicking on rows, set the property checkboxMode to Default. The modes available are: Default: Allows multiple rows to be selected by clicking rows one by one. ResetOnRowClick: Allows you to reset the previously selected row while clicking on a specific row. You can also select multiple rows by clicking on rows along with the CTRL or SHIFT key in the pivot table.

    Declaration
    public object CheckboxMode { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    CheckboxOnly

    Allows the selection options to highlight the rows in the pivot table using checkbox selection on their own.

    To enable checkboxOnly selection, should specify the column type as checkbox.

    Declaration
    public bool CheckboxOnly { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false

    ContentTemplate

    To get or set value for ContentTemplate.

    Declaration
    public MvcTemplate<object> ContentTemplate { get; set; }
    Property Value
    Type
    Syncfusion.EJ2.MvcTemplate<System.Object>

    EnableSimpleMultiRowSelection

    Allows to perform multiple selection in rows with single clicks without using SHIFT or CTRL keys.

    Declaration
    public bool EnableSimpleMultiRowSelection { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false

    Mode

    Allow options to highlight either row wise or column wise or specific cells in the pivot table. For example, to highlight the columns, set the property mode to Column. The modes available are: Cell: Allows specific cells to be highlighted in the pivot table. Row: Allows the rows to be highlighted in the pivot table. Column: Allows the columns to be highlighted in the pivot table. Both: Allows both rows, columns and cells to be highlighted in the pivot table.

    Declaration
    public SelectionMode Mode { get; set; }
    Property Value
    Type Description
    SelectionMode

    The default value is SelectionMode.Row

    PersistSelection

    Allows you to keep selections in rows or columns or cells while performing all operations in the pivot table.

    For persisting selection, any one of the column should be enabled as a primary key using the columns.isPrimaryKey property in the grid instance.

    Declaration
    public bool PersistSelection { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false

    Type

    Allow options to customize the selection type to highlight either row wise or column wise or specific cell in the pivot table. For example, to highlight multiple rows or columns or cells, set the property type to Multiple. The types available are: Single: Allows the user to select a row or cell on their own in the pivot table. Multiple: Allows the user to select multiple rows or columns or cells in the pivot table.

    Declaration
    public object Type { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

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