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.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
Type | Description |
---|---|
GridColumnEditFormSettings | A GridColumnEditFormSettings object that contains the edit cell’s settings. |
Remarks
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.
Example
<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" ... >
<Columns>
<dx:GridViewCommandColumn ShowNewButtonInHeader="true" ShowEditButton="true" VisibleIndex="0" />
<dx:GridViewDataTextColumn FieldName="FirstName" VisibleIndex="1">
<EditFormSettings VisibleIndex="0" />
</dx:GridViewDataTextColumn>
<dx:GridViewDataColumn FieldName="Title" VisibleIndex="4">
<EditFormSettings VisibleIndex="1" />
</dx:GridViewDataColumn>
<dx:GridViewDataMemoColumn FieldName="Notes" Visible="False">
<EditFormSettings Visible="True" VisibleIndex="2" />
</dx:GridViewDataMemoColumn>
<dx:GridViewDataColumn FieldName="LastName" VisibleIndex="2">
<EditFormSettings VisibleIndex="3" />
</dx:GridViewDataColumn>
<dx:GridViewDataColumn FieldName="BirthDate" VisibleIndex="3">
<EditFormSettings VisibleIndex="4" />
</dx:GridViewDataColumn>
<dx:GridViewDataColumn FieldName="HireDate" VisibleIndex="5">
<EditFormSettings VisibleIndex="5" />
</dx:GridViewDataColumn>
</Columns>
<SettingsEditing EditFormColumnCount="3" Mode="PopupEditForm" />
</dx:ASPxGridView>
For a full example, see Grid - Popup Edit Form demo.
See Also