WinForms Data Grid

Totals and Group Summaries

 

Grid Views support the following summary computation features:

  • Total Summaries
    You can calculate aggregate functions against all values within a column and display the results inside a View's Footer.
  • Group Summaries (in grouped rows and group footers)
    Summaries can be calculated against column values within groups. In this instance, aggregate values can be displayed either within the group row or in the group footer under the specified column. By handling one event, you can even specify which groups should generate these calculations.
  • Five Built-in Functions
    The XtraGrid offers 5 built-in aggregate functions - record count, sum, average, maximum and minimum values. End users can calculate any of these summaries at runtime by using the appropriate View Footer context menu item.
  • Custom Aggregate Functions
    You can provide any logic to calculate summary values via event handlers.
  • Sorting Against Group Summary Values

    Grid Views provide an API to sort groups by their summary values. For instance, you may have a view grouped by dates and the sales amount calculated for each date. The XtraGrid allows you to sort grouped rows so that dates having maximum sales amounts will appear at the top of the View.

    End-users can sort group rows based on group summary values. For this purpose, we've added appropriate items to grouping column header menus. When data is sorted by group summaries, a special glyph is displayed within the corresponding grouping column's header. (Screenshot)
  • Optional Automatic Total Summary Update
    Total summary value updates may be a time-consuming task if the grid displays large amounts of data. To help increase application performance, you can force the grid to suspend summary computation until such time as the user explicitly requests it.



More from DevExpress
Live Chat
Have a pre-sales question?
Need assistance with your evaluation?
We are here to help.
Chat is one of the many ways you can contact members of the DevExpress Team. We are available Monday-Friday between 8:30am and 5:00pm Pacific Time.
If you need additional product information, require pre-sales assistance, or want help with your order, write to us at info@devexpress.com or call us at
+1 (818) 844-3383.