DevExtreme v24.2 is now available.

Explore our newest features/capabilities and share your thoughts with us.

Your search did not match any results.

React Data Grid - Total Summaries

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 may be temporarily unavailable due to an issue with the UNPKG service we use for resource loading. You can vote on it in the

UNPKG repository

We're working on a fix — sorry for the inconvenience.

Backend API

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.