How to: Add Custom Totals

  • 2 minutes to read

This example shows how to display custom totals in the 'Country' column field. Four custom totals calculate the Average, Sum, Min and Max values against the data field.

NOTE

A complete sample project is available at https://github.com/DevExpress-Examples/how-to-add-custom-totals-e1868

using System;

namespace CustomTotals {
    public partial class _Default : System.Web.UI.Page {
        protected void Page_Load(object sender, EventArgs e) {
        }
    }
}