How to show the total of a numeric column in a list view

In case the total of a numeric column needs to be shown at the bottom of a list view, would be needed to include the attribute sum​ in the field’s XML definition.

For example, if amount​ field needs to have a total at the bottom of the column the XML code for this field in the list view would look like the following:

<field name="amount" sum="Total Amount"/>        

The string that is assigned to the sum​ attribute is the text that is shown on hover of the value.