Previously, grid-like controls raised the SummaryDisplayText event each time group and total summaries were recalculated.
In v19.2, we implemented automatic summary recalculation on the client side in batch edit mode. In this case, the server-side SummaryDisplayText event no longer fires as the new client-side BatchEditSummaryDisplayText event in which you can customize content and its appearance for the summaries is now available.
This change may affect your application.
To revert to the previous behavior, set the GridBatchEditSettings.EnableRealTimeSummaryRecalculation property to false
.
WebForms GridView:
ASPx<dx:ASPxGridView ID="ASPxGridView1" runat="server" ...>
<SettingsEditing Mode="Batch">
<BatchEditSettings EnableRealTimeSummaryRecalculation="false" />
<SettingsEditing/>
...
</dx:ASPxGridView>
MVC GridView:
Razor@Html.DevExpress().GridView(settings => {
settings.Name = "gridView";
settings.SettingsEditing.Mode = GridViewEditingMode.Batch;
settings.SettingsEditing.BatchEditSettings.EnableRealTimeSummaryRecalculation = false;
...
}).Bind(Model).GetHtml()