DevExtreme v23.1 is now available.
Explore our newest features/capabilities and share your thoughts with us.
To display total summaries, populate the summary.totalItems array with configuration objects. Each object should specify a column that supplies data for summary calculation and a summaryType—an aggregate function that should be applied to this data.
This demo illustrates the following total summaries:
Total number of orders
This summary uses the "count" summaryType.
Date of the first order
This summary uses the "min" summaryType and the customizeText function that formats the displayed summary value.
Total revenue
This summary uses the "sum" summaryType and the valueFormat property to format the summary value as currency.