Back to Devexpress

PivotGridOptionsCustomizationEx.AllowEdit Property

windowsforms-devexpress-dot-xtrapivotgrid-dot-pivotgridoptionscustomizationex-2f16a8c4.md

latest3.1 KB
Original Source

PivotGridOptionsCustomizationEx.AllowEdit Property

Gets or sets whether data editing is enabled.

Namespace : DevExpress.XtraPivotGrid

Assembly : DevExpress.XtraPivotGrid.v25.2.dll

NuGet Package : DevExpress.Win.PivotGrid

Declaration

csharp
[DefaultValue(true)]
[XtraSerializableProperty]
public bool AllowEdit { get; set; }
vb
<DefaultValue(True)>
<XtraSerializableProperty>
Public Property AllowEdit As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true if data editing is enabled; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to AllowEdit
PivotGridControl

.OptionsCustomization .AllowEdit

|

Remarks

To allow an end-user to edit cells corresponding to a specific data field, you need to assign an in-place editor to cells via the PivotGridField.FieldEdit property or PivotGridControl.CustomCellEdit/PivotGridControl.CustomCellEditForEditing event(s).

By default, the AllowEdit option is set to true , so data editing is not disabled. You can set this option to false , to temporarily prevent data editing in all cells. In addition, you can prevent data editing for cells corresponding to a specific data field via the field’s PivotGridFieldOptionsEx.AllowEdit option.

See Also

FieldEdit

AllowEdit

ReadOnly

CustomCellEdit

CustomCellEditForEditing

Cell Editors Overview

PivotGridOptionsCustomizationEx Class

PivotGridOptionsCustomizationEx Members

DevExpress.XtraPivotGrid Namespace