menu

WinForms

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

    Show / Hide Table of Contents

    Class PivotEditingManager

    Provides methods to handle the editing related events happened in PivotGrid control.

    Inheritance
    System.Object
    PivotEditingManager
    Implements
    System.IDisposable
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Windows.Forms.PivotAnalysis
    Assembly: Syncfusion.PivotAnalysis.Windows.dll
    Syntax
    public class PivotEditingManager : IDisposable

    Constructors

    PivotEditingManager(PivotGridControlBase)

    Initializes a new instance of the PivotEditingManager class with the specified PivotGridControlBase.

    Declaration
    public PivotEditingManager(PivotGridControlBase pivotGrid)
    Parameters
    Type Name Description
    PivotGridControlBase pivotGrid

    The pivot grid control that handles editing values.

    Properties

    AllowEditingOfTotalCells

    Gets or sets a value indicating whether the user can edit total cells or not.

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

    true if the editing of total cells; otherwise false .

    HideExpanders

    Gets or sets a value indicating whether the expanders should be visible or not.

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

    true if the expanders are visible; otherwise, false.

    Methods

    ChangeValue(Object, Object, Int32, Int32, PivotCellInfo)

    Updates the cell with the edited value.

    Declaration
    protected virtual void ChangeValue(object oldValue, object newValue, int row1, int col1, PivotCellInfo pivotCellInfo)
    Parameters
    Type Name Description
    System.Object oldValue

    The cell value before editing the cell.

    System.Object newValue

    The cell value after editing the cell.

    System.Int32 row1

    The row index of the cell.

    System.Int32 col1

    The column index of the cell.

    PivotCellInfo pivotCellInfo

    The information about the edited cell.

    Dispose()

    Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

    Declaration
    public void Dispose()

    GetRowColumnPivotValuesAt(Int32, Int32, out String)

    Gets the list of pivot values based on specified row and column indices.

    Declaration
    public List<IComparable> GetRowColumnPivotValuesAt(int row, int column, out string calcFieldName)
    Parameters
    Type Name Description
    System.Int32 row

    The row index of the cell.

    System.Int32 column

    The column index of the cell.

    System.String calcFieldName

    Returns the name of the calculated field at the specified row and column indices.

    Returns
    Type Description
    System.Collections.Generic.List<System.IComparable>

    Returns a list of row and column pivot values.

    Remarks

    The returned list is an ordered list of the pivot values that contain row pivot values followed by the column pivot values. There is a one to one correspondence between the number of items in PivotRows and then PivotColumns to this returned ordered list.

    Redo()

    Redo the last handled operation.

    Declaration
    public void Redo()

    Undo()

    Undo the last handled operation.

    Declaration
    public void Undo()

    Events

    PivotValueEdited

    Occurs when the pivot values are edited.

    Declaration
    public event PivotValueEditedEventHandler PivotValueEdited
    Event Type
    Type
    PivotValueEditedEventHandler

    Implements

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