Skip to main content

PivotGridOptionsCustomizationEx.AllowEdit Property

Gets or sets whether data editing is enabled.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v24.2.dll

Declaration

[DefaultValue(true)]
[XtraSerializableProperty]
public bool AllowEdit { get; set; }

Property Value

Type Default Description
Boolean true

true if data editing is enabled; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path 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