menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class PivotViewCellEditSettingsBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    PivotViewCellEditSettingsBuilder
    Namespace: Syncfusion.EJ2.PivotView
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class PivotViewCellEditSettingsBuilder : ControlBuilder

    Constructors

    PivotViewCellEditSettingsBuilder()

    Declaration
    public PivotViewCellEditSettingsBuilder()

    PivotViewCellEditSettingsBuilder(PivotViewCellEditSettings)

    Declaration
    public PivotViewCellEditSettingsBuilder(PivotViewCellEditSettings model)
    Parameters
    Type Name Description
    PivotViewCellEditSettings model

    Methods

    AllowAdding(Boolean)

    Allows you to add a new record to the data grid used to update the appropriate cells in the pivot table.

    Declaration
    public PivotViewCellEditSettingsBuilder AllowAdding(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    PivotViewCellEditSettingsBuilder

    AllowCommandColumns(Boolean)

    Allows an additional column appended in the data grid layout holds the command buttons to perform the CRUD operations to edit, delete, and update the raw items to the data grid that used to update the appropriate cells in the pivot table.

    Declaration
    public PivotViewCellEditSettingsBuilder AllowCommandColumns(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    PivotViewCellEditSettingsBuilder

    AllowDeleting(Boolean)

    Allows you to delete the existing record from the data grid that used to update the appropriate cells in the pivot table.

    Declaration
    public PivotViewCellEditSettingsBuilder AllowDeleting(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    PivotViewCellEditSettingsBuilder

    AllowEditing(Boolean)

    Allows you to edit the existing record in the data grid that used to update the appropriate cells in the pivot table.

    Declaration
    public PivotViewCellEditSettingsBuilder AllowEditing(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    PivotViewCellEditSettingsBuilder

    AllowEditOnDblClick(Boolean)

    Allows you to restrict CRUD operations by double-clicking the appropriate value cell in the pivot table.

    Declaration
    public PivotViewCellEditSettingsBuilder AllowEditOnDblClick(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    PivotViewCellEditSettingsBuilder

    AllowInlineEditing(Boolean)

    Allows direct editing of a value cell without opening the edit dialog. NOTE: It is applicable only if the value cell is made by a single raw data. Otherwise editing dialog will be shown.

    The allowInlineEditing property supports all modes of editing.

    Declaration
    public PivotViewCellEditSettingsBuilder AllowInlineEditing(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    PivotViewCellEditSettingsBuilder

    Mode(EditMode)

    Allow options for performing CRUD operations with different modes in the data grid that used to update the appropriate cells in the pivot table. The available modes are as follows: Normal: Allows the currently selected row alone will be completely changed to edit state. You can change the cell values and save it to the data source by clicking “Update” toolbar button. Dialog: Allows the currently selected row data will be shown in an exclusive dialog. You can change the cell values and save it to the data source by clicking “Save” button in the dialog. Batch: Allows you to perform double-click on any data specific cell in the data grid, the state of that selected cell will be changed to edit state. You can perform bulk changes like add, edit and delete data of the cells and finally save to the data source by clicking “Update” toolbar button.

    Declaration
    public PivotViewCellEditSettingsBuilder Mode(EditMode value)
    Parameters
    Type Name Description
    EditMode value
    Returns
    Type
    PivotViewCellEditSettingsBuilder

    ShowConfirmDialog(Boolean)

    Allows you to show a confirmation dialog to save and discard CRUD operations performed in the data grid that used to update the appropriate cells in the pivot table.

    To use this option, it requires the property mode to be Batch, meaning, the showConfirmDialog option is only applicable for batch edit mode.

    Declaration
    public PivotViewCellEditSettingsBuilder ShowConfirmDialog(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    PivotViewCellEditSettingsBuilder

    ShowDeleteConfirmDialog(Boolean)

    Allows you to show the confirmation dialog to delete any records from the data grid.

    The showDeleteConfirmDialog property supports all modes of editing.

    Declaration
    public PivotViewCellEditSettingsBuilder ShowDeleteConfirmDialog(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    PivotViewCellEditSettingsBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved