Skip to main content
Tab

GridViewStyles.BatchEditChangesPreviewGroupRow Property

Specifies the appearance of group rows when the grid is in Preview Changes mode.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

public GridViewDataRowStyle BatchEditChangesPreviewGroupRow { get; }

Property Value

Type Description
GridViewDataRowStyle

Style settings that specify the appearance of group rows.

Remarks

In batch edit mode, the grid allows you to preview unsaved changes. When a user clicks the Preview Changes button, the grid groups deleted, inserted, and updated rows, and highlights group rows.

The BatchEditChangesPreviewGroupRow property allows you to specify the appearance of group rows in Preview Changes mode in markup and in a CSS class.

ASPxGridView - PreviewChangesGroupRow

Markup Example

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

CSS Example

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

See Also