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:
The string that is assigned to the sum attribute is the text that is shown on hover of the value.