All docs
V19.2
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.

ASPxClientGridBase.BatchEditSummaryDisplayText Event

Fires when a user changes the summary item value.

Declaration

BatchEditSummaryDisplayText: ASPxClientEvent<ASPxClientGridBatchEditSummaryDisplayTextEventHandler<ASPxClientGridBase>>

Event Data

The BatchEditSummaryDisplayText event handler receives an argument of the ASPxClientGridBatchEditSummaryDisplayTextEventArgs type. The following properties provide information specific to this event.

Property Description
displayText Gets or sets the summary item's display text.
groupRowVisibleIndex Specifies the group row's visible index.
isGroupSummary Specifies whether the processed summary is a group summary.
isTotalSummary Specifies whether the processed summary is a total summary.
serverValue Gets the summary item's server value.
summaryElement Gets the element that contains the summary item.
summaryFieldName Gets the summary item's field name.
summaryItemIndex Gets the summary item index.
summaryType Gets the summary type.
value Specifies the summary item's value.

Remarks

Handle the BatchEditSummaryDisplayText event to customize the summary item's content and appearance of total and group summaries.

<dx:ASPxGridView ID="Grid" runat="server" ClientInstanceName="grid" >
    // ...
    <SettingsEditing Mode="Batch" />
    <ClientSideEvents BatchEditSummaryDisplayText="onBatchEditSummaryDisplayText" />
    <TotalSummary>
        <dx:ASPxSummaryItem FieldName="Total" SummaryType="Sum" />
    </TotalSummary>
    <GroupSummary>
        <dx:ASPxSummaryItem FieldName="Total" SummaryType="Sum" />
    </GroupSummary>
</dx:ASPxGridView>

Online Demo

ASPxGridView - Client Summary Calculation

See Also