Built-In Aggregate Functions

The ASPxTreeList provides five built-in aggregate functions:

  • Count: returns the number of records;
  • Min: returns the minimum value in a column;
  • Max: returns the maximum value in a column;
  • Sum: calculates the sum of all values in a column;
  • Average: calculates the average value of a column.

To select the required aggregate function, use the summary item's TreeListSummaryItem.SummaryType property.

cdBuiltInFunctions