Total Summary

 
Company Name City Region Country Unit Price Quantity Total
Vins et alcools Chevalier Reims   France $14.00 12 $168.00
Vins et alcools Chevalier Reims   France $10.00 10 $100.00
Vins et alcools Chevalier Reims   France $35.00 5 $175.00
Toms Spezialitäten Münster   Germany $19.00 9 $171.00
Toms Spezialitäten Münster   Germany $42.00 40 $1,680.00
Hanari Carnes Rio de Janeiro RJ Brazil $8.00 10 $80.00
Hanari Carnes Rio de Janeiro RJ Brazil $42.00 35 $1,470.00
Hanari Carnes Rio de Janeiro RJ Brazil $17.00 15 $255.00
Victuailles en stock Lyon   France $17.00 6 $102.00
Victuailles en stock Lyon   France $16.00 15 $240.00
of 216

Our Blazor Grid component can compute summaries for content in its entirety and at each individual group level. Total summaries are calculated across all Grid records and displayed in the Grid's footer. To create total summaries, declare DxGridSummaryItem objects in the TotalSummary template.

Key DxGridSummaryItem properties are summarized below.

  • SummaryType — Specifies the aggregate function (Sum, Min, Max, Avg, or Count).
  • FieldName — Specifies the name of the data field whose values are used to calculate the summary. The Min and Max functions support data fields whose values can be compared. The Avg and Sum functions work with numeric fields only. For the Count function, you do not need to set this property.
  • FooterColumnName — Specifies the name of the column used to display the summary. If you do not define this property, the summary value is displayed under the column bound to the same data field.
  • DisplayText — Specifies display text pattern for the summary item. A display text string can include static text and placeholders for summary value and column caption.
  • ValueDisplayFormat — Specifies the pattern used to format the summary value. If you do not define this property, the summary applies the format from the column bound to the same data field. The Grid supports standard formats. For more information, see the following help topic: Format types in .NET.
  • Visible — Allows you to show/hide individual summary items.