Skip to main content
Tab

GridViewStyles.BatchEditModifiedCell Property

Specifies the appearance of modified data cells.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

public GridViewCellStyle BatchEditModifiedCell { get; }

Property Value

Type Description
GridViewCellStyle

Style settings that specify the appearance of modified data cells.

Remarks

In batch edit mode, the grid marks out the data cells that contain unsaved changes.

The GridViewStyles.BatchEditModifiedCell property allows you to specify the appearance of all modified cells in markup and in a CSS class.

To customize the appearance of modified data cells within a particular column, specify a column’s GridViewDataColumn.BatchEditModifiedCellStyle property.

Markup Example

<dx:ASPxGridView ID="ASPxGridView1" runat="server" KeyFieldName="ProductID">
    <!-- ... -->
    <Styles>
        <BatchEditModifiedCell BackColor="LightCoral" />
    </Styles>
    <SettingsEditing Mode="Batch" />
</dx:ASPxGridView>

CSS Example

#ASPxGridView1 .batchModifiedCellStyle {
    background-color: lightyellow;
}
 <dx:ASPxGridView ID="ASPxGridView1" runat="server" KeyFieldName="ProductID">
    <!-- ... -->
    <Styles>
        <BatchEditModifiedCell CssClass="batchModifiedCellStyle" />
    </Styles>
    <SettingsEditing Mode="Batch" />
</dx:ASPxGridView>
See Also