Skip to main content
Tab

GridViewBatchEditSettings.HighlightDeletedRows Property

Specifies whether the grid highlights deleted rows.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(true)]
public bool HighlightDeletedRows { get; set; }

Property Value

Type Default Description
Boolean true

true to highlight deleted rows; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to HighlightDeletedRows
ASPxGridViewEditingSettings
.BatchEditSettings .HighlightDeletedRows

Remarks

In batch edit mode, the grid highlights deleted rows. Set the HighlightDeletedRows property to false to remove deleted rows from the grid instead of highlighting them.

To customize the appearance of deleted rows, specify the GridView.Styles.BatchEditDeletedRow property.

<dx:ASPxGridView ID="ASPxGridView1" runat="server" KeyFieldName="ProductID" >
    <!-- ... -->
    <SettingsEditing Mode="Batch">
        <BatchEditSettings HighlightDeletedRows="false" />
    </SettingsEditing>
</dx:ASPxGridView>
See Also