All docs
V21.1
21.1
20.2
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
Tab

CardViewBatchEditSettings.HighlightSummaryItems Property

Specifies whether the ASPxCardView highlights summaries when their values are recalculated.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.1.dll

Declaration

[DefaultValue(false)]
public bool HighlightSummaryItems { get; set; }

Property Value

Type Default Description
Boolean

false

true, to highlight summaries; otherwise, false.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to HighlightSummaryItems
ASP.NET Bootstrap Controls BootstrapCardViewEditingSettings
.BatchEditSettings.HighlightSummaryItems
ASP.NET MVC Extensions MVCxCardViewEditingSettings
.BatchEditSettings.HighlightSummaryItems
ASP.NET Web Forms Controls ASPxCardViewEditingSettings
.BatchEditSettings.HighlightSummaryItems

Remarks

The card view with default settings does not highlight its summaries when their values are recalculated in real time (EnableRealTimeSummaryRecalculation).

You can do one of the following to highlight recalculated summaries:

  • Set the HighlightSummaryItems property to true to use the predefined style settings.
<dx:ASPxCardView ID="CardView" runat="server" ...>
      ...
    <SettingsEditing Mode="Batch">
        <BatchEditSettings HighlightSummaryItems="True" />
    </SettingsEditing>
</dx:ASPxCardView>
function onBatchEditSummaryDisplayText(s, e) {
    if (e.summaryFieldName === "Total") {
        var isValueChanged = e.value !== e.serverValue;
        var hasLargeValue = e.value > 1300000;
        ASPxClientUtils.ToggleClassName(e.summaryElement, "summaryItemChangedValue", isValueChanged);
        ASPxClientUtils.ToggleClassName(e.summaryElement, "summaryItemLargeValue", hasLargeValue);
    }
}
NOTE

The BatchEditSummaryDisplayText event has higher priority over the HighlightSummaryItems property setting.

See Also