aspnet-devexpress-dot-web-dot-gridviewdatacolumn-5130157e.md
Specifies the appearance of the column’s modified data cells.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
public GridViewCellStyle BatchEditModifiedCellStyle { get; }
Public ReadOnly Property BatchEditModifiedCellStyle As GridViewCellStyle
| Type | Description |
|---|---|
| GridViewCellStyle |
Style settings that specify the appearance of the column’s modified data cells.
|
In batch edit mode, the grid marks out the data cells that contain unsaved changes.
The GridViewDataColumn.BatchEditModifiedCellStyle property allows you to specify the appearance of the column’s modified cells in markup and in a CSS class.
To customize the appearance of all modified data cells in the grid, specify the GridView.Styles.BatchEditModifiedCell property.
<dx:ASPxGridView ID="Grid" runat="server" KeyFieldName="ID" OnBatchUpdate="Grid_BatchUpdate">
<!-- ... -->
<Columns>
<!-- ... -->
<dx:GridViewDataSpinEditColumn FieldName="C2">
<BatchEditModifiedCellStyle BackColor="LightCoral"></BatchEditModifiedCellStyle>
</dx:GridViewDataSpinEditColumn>
<dx:GridViewDataTextColumn FieldName="C3">
<BatchEditModifiedCellStyle BackColor="LightYellow"></BatchEditModifiedCellStyle>
</dx:GridViewDataTextColumn>
<!-- ... -->
</Columns>
<SettingsEditing Mode="Batch" />
</dx:ASPxGridView>
#Grid .batchModifiedCellStyle {
background-color: lightyellow;
}
<dx:ASPxGridView ID="Grid" runat="server" KeyFieldName="ID" AutoGenerateColumns="false">
<Columns>
<!-- ... -->
<dx:GridViewDataTextColumn FieldName="C3">
<BatchEditModifiedCellStyle CssClass="batchModifiedCellStyle" />
</dx:GridViewDataTextColumn>
<!-- ... -->
</Columns>
<SettingsEditing Mode="Batch" />
</dx:ASPxGridView>
See Also