afterClientSideSummaryCompute Event



An object that contains the computed values for each field in the List control that is configured to compute a summary value. Values are referenced using array syntax to get the summary values for a field. For example, csSummary['QTY'].total. Each field summary value entry can have the following properties:

Fields in csSummary are always referenced using uppercase.

The total computed for the field.


The count computed for the field.


The average computed for the field.


The minimum value for the field.


The maximum value for the field.


Fires after the client-side summary values have been computed.


The afterClientSideSummaryCompute event is triggered after the summary values for fields in the List control have been computed.

A common use case for this event is to display the summary values in a control or DIV in the UX Component. For example:

// Get the total count for QTY and total cost:
var itemsOrdered = csSummary['QTY'].total;
var invoiceCost = csSummary['TOTAL'].total;

// Display values in two labels in the UX:

The summary value will only be available if you specified that it should be computed. Summary values can be enabled on the List Builder Fields pane in the Client-side section.

See Also