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.

Showcase Your Apps on DevExpress.com

Highlight your business app and share your development experiences with the DevExpress community. To include your app in our upcoming App Showcase, please forward an application screenshot to clientservices@devexpress.com and tell us which DevExpress products you currently use within your organization.
7 comment(s)
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 (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 (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.