Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Collapse]ASP.NET Bootstrap Controls
 [Expand]Getting Started
 [Collapse]Grid View
  [Expand]Binding to Data
  [Expand]Data Representation Basics
  [Collapse]Data Summaries
    Total Summary
    Group Summary
    Create Custom Summaries
  [Expand]Filtering
  [Expand]Grouping
   Sorting
  [Expand]Focus and Navigation
  [Expand]Data Editing
  [Expand]Master-Detail Relationship
   Adaptivity
  [Expand]Templates
   Export Overview
   Data-Toggle Attribute
 [Expand]Card View
 [Expand]Charts
 [Expand]Data Editors
 [Expand]Site Navigation
 [Expand]Site Layout
 [Expand]Redistribution and Deployment
 [Expand]API Reference
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Total Summary

The total summary represents the value of an aggregate function calculated from all data rows in the ASPxGridView. Total summaries are displayed in footer cells, provided that the ASPxGridViewSettings.ShowFooter option is enabled.

ASPxSummaryItem objects represent total summaries. The Bootstrap Grid View stores its total summaries within the ASPxGridView.TotalSummary collection. You can use the BootstrapGridView Designer as shown above to manage this collection at design time.

The ASPxSummaryItem.ShowInColumn property allows you to specify which column should display a summary value in the footer cell. The summary is displayed in a column specified via the ASPxSummaryItemBase.FieldName property if the ShowInColumn property is not specified.

Use the ASPxGridView.GetTotalSummaryValue and ASPxSummaryItem.GetTotalFooterDisplayText methods to obtain a total summary value and its text representation, respectively.

Expanded Example: Creating Total Summaries in Code

The following example shows how to calculate the average budget and display it in the Bootstrap Grid View's footer:

How would you rate this topic?​​​​​​​