WinForms Data Grid - Summaries by Selection (v20.1)

WinForms Team Blog
23 April 2020

As you may already know, our WinForms Grid will soon ship with summary computation support against selected records (v20.1). Said differently, our Grid will allow you to calculate summary values against selected rows, rather than the entire data set.

To enable this feature, set the GridSummaryItem.Mode property to either Selection or Mixed. We recommend that you use Mixed mode as it is the jack of all trades - when only a single row is selected (or none selected), our summary computation algorithm works like before and calculates value for all data records. Select two or more rows - and the summary automatically switches to selection-based computation.

For an in-depth discussion of this new feature, please visit our YouTube channel and launch our "Summaries by Selection" video.

You can download the video’s script using the following URL: Summary Computation for Selected Rows

As always, we welcome your thoughts. Please comment below and let us know what you think of this new feature.

Free DevExpress Products – Get Your Copy Today

The following free DevExpress product offers remain available. Should you have any questions about the free offers below, please submit a ticket via the DevExpress Support Center at your convenience. We’ll be happy to follow-up.
CRM-48072708-3269-4580-8510-390573ae1482
Kiryl Y

Great addition.

Would we have official release early this year or as usual mid of May? 

23 April 2020
Rodrigo Coelho
Rodrigo Coelho
This feature is very important on VCL pack too.
23 April 2020
Dmitry (DevExpress)
Dmitry Korovin (DevExpress)
@Kiryl Y - The v20.1 release is scheduled for early May 2020.
23 April 2020
Paulo (DevExpress Support)
Paulo (DevExpress Support)

Rodrigo,


Our VCL TcxGrid control supports this functionlaity. You can activate the grid view's DataController.Summary.Options.soSelectedRecords and DataController.Summary.Options.soMultipleSelectedRecords options to activate it.

24 April 2020
HansG
HansG

How can the user see, if it´s the sum of the selected rows or of the whole grid?

I would like to see "sum (selected)=123.00" or "sum=$576.00".

25 April 2020
Dmitry (DevExpress)
Dmitry Korovin (DevExpress)
@HansG If you look closely at the GIF animation in the post, you'll notice the blue autosum icon in the summary item. That icon indicates the summary calculates values against selected rows. In regular mode no such icon is visible.
28 April 2020
Gustavo Marzioni
Gustavo Marzioni
Hi, is it available in server mode ? I can't make it work in 20.1.3
1 May 2020

Please login or register to post comments.