Skip to main content

GridColumnEditFormSettings.Visible Property

Gets or sets whether the edit cell that corresponds to the current data column is displayed within the Edit Form.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.1.dll

NuGet Package: DevExpress.Web


public DefaultBoolean Visible { get; set; }

Property Value

Type Default Description
DefaultBoolean Default

One of the DefaultBoolean enumeration values.

Available values:

Name Description Return Value

The value is true.



The value is false.



The value is specified by a global option or a higher-level object.


Property Paths

You can access this nested property as listed below:

Object Type Path to Visible
.EditFormSettings .Visible


Edit cells are displayed within the Edit Form. Each cell corresponds to a data column and allows its value within the edited row to be changed. If the Visible property is set to false, the edit cell isn’t displayed within the Edit Form. In this instance, end-users are not allowed to change the column’s values.

It’s also possible to display edit cells within the Edit Form that correspond to data columns that are hidden within the ASPxGridView. To do this, set the Visible property to ‘True’.

If the Visible property is set to ‘Default’, the edit cell’s visibility depends on the visibility of the data column to which it corresponds. The data column’s visibility is specified by its Visible property.

The edit cell’s position within the Edit Form is specified by the GridColumnEditFormSettings.VisibleIndex property.

Operation in Batch Edit Mode

In Batch Edit mode the Visible property specifies whether a value of cell that corresponds to the current data column can be modified by an end-user. If the Visible property is set to false, the row’s cell is visible, but cannot be switched to edit mode. When an end-user navigates through cells using the TAB key, the row’s cells are skipped.

The GridColumnEditFormSettings.VisibleIndex property in Batch Edit mode is not in effect.



<dx:ASPxGridView ID="grid" ClientInstanceName="grid" runat="server" DataSourceID="DemoDataSource1" KeyFieldName="ProductID" EnableRowsCache="False" AutoGenerateColumns="False">
          <dx:GridViewCommandColumn ShowNewButtonInHeader="true" ShowDeleteButton="True" />
          <dx:GridViewDataTextColumn FieldName="ProductName" >
               <EditFormSettings Visible="False"/>
          <dx:GridViewDataComboBoxColumn FieldName="CategoryID" Caption="Category Name">
               <PropertiesComboBox DataSourceID="ComboBoxDataSource" ValueType="System.Int32" ValueField="CategoryID" TextField="CategoryName" />
          <dx:GridViewDataSpinEditColumn FieldName="UnitPrice">
               <PropertiesSpinEdit DisplayFormatString="c" DisplayFormatInEditMode="true" MinValue="0" MaxValue="60000" />
     <SettingsPager PageSize="5">
     <SettingsEditing Mode="Batch" >
          <BatchEditSettings EditMode="Row" />

Online Example

View Example: How to hide the EditForm editor and column caption programmatically

See Also