A newer version of this page is available. Switch to the current version.

GridViewDataColumn.EditFormSettings Property

Gets the settings of the edit cell which is displayed within the Edit Form and corresponds to the current data column.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll


public GridColumnEditFormSettings EditFormSettings { get; }
Public ReadOnly Property EditFormSettings As GridColumnEditFormSettings

Property Value

Type Description

A GridColumnEditFormSettings object that contains the edit cell's settings.


The EditFormSettings property provides access to the settings that allow the edit cell's caption, visibility, layout and position within the Edit Form to be specified. The style settings used to paint the edit cell that corresponds to the current data column can be accessed via the GridViewDataColumn.EditCellStyle property.



<dx:ASPxCheckBox ID="chkMemoLocation" runat="server" Checked="False" OnCheckedChanged="chkMemoLocation_CheckedChanged"
     Text="Show memo at bottom" AutoPostBack="True" />
<dx:ASPxGridView ID="grid" runat="server" DataSourceID="DemoDataSource1" ... >
            <dx:GridViewCommandColumn ShowNewButtonInHeader="true" ShowEditButton="true" VisibleIndex="0" />
            <dx:GridViewDataTextColumn FieldName="FirstName" VisibleIndex="1">
                <EditFormSettings VisibleIndex="0" />
            <dx:GridViewDataColumn FieldName="Title" VisibleIndex="4">
                <EditFormSettings VisibleIndex="1" />
            <dx:GridViewDataMemoColumn FieldName="Notes" Visible="False">
                <EditFormSettings Visible="True" VisibleIndex="2" />
            <dx:GridViewDataColumn FieldName="LastName" VisibleIndex="2">
                <EditFormSettings VisibleIndex="3" />
            <dx:GridViewDataColumn FieldName="BirthDate" VisibleIndex="3">
                <EditFormSettings VisibleIndex="4" />
            <dx:GridViewDataColumn FieldName="HireDate" VisibleIndex="5">
                <EditFormSettings VisibleIndex="5" />
     <SettingsEditing EditFormColumnCount="3" Mode="PopupEditForm" />

For a full example, see Grid - Popup Edit Form demo.

See Also