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

Group Summary

The group summary represents the value of the aggregate function calculated over all data rows within a group. Group summaries are displayed within group rows or group footer cells.

Group summaries are represented by the ASPxSummaryItem objects. Bootstrap Grid View stores its group summaries within the ASPxGridView.GroupSummary collection. To manage this collection at design time, you can use the Edit Form as shown above.

The ASPxSummaryItem object provides two properties allowing you to determine the location to display the summary.

To obtain group summary values, use the following methods.

Method Description
ASPxGridView.GetGroupRowSummaryText Returns the summary text displayed within the specified group row.
ASPxGridView.GetGroupSummaryValue Returns a summary value calculated against the specified group of rows.
ASPxSummaryItem.GetGroupRowDisplayText Formats the specified value according to the current group row summary item's format settings.
ASPxGridViewSettings.ShowGroupFooter Specifies the ASPxGridView group footers visibility.
ASPxSummaryItem.GetGroupFooterDisplayText Formats the specified value according to the current total summary item's format settings, when the summary is displayed within group row footers.

Expanded Example: Creating a Group Summary in Code

This example shows how to create and customize a group summary in code.

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