Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to summarize empty cells

$
0
0

The following example demonstrates how to use custom summaries to count the total number of empty cells in a certain grid column.

Question Comments

Added By: Leahs at: 11/4/2015 10:04:17 AM    

How can this example of the custom code be used in the view model?

Added By: Michael Ch (DevExpress Support) at: 11/4/2015 9:37:29 PM    

Hello,

To process your recent post more efficiently, I created a separate ticket on your behalf: T308203: How to summarize empty cells in MVVM. This ticket is currently in our processing queue. Our team will address it as soon as we can.

Added By: Bosko Loncar at: 9/5/2017 4:24:42 AM    I am trying to under the sequence of calls here and found that 

 if (e.IsTotalSummary) {
                if (e.SummaryProcess == CustomSummaryProcess.Start) {
call two times.

What if i would like to initialize variable in Start of TotalSummary and do calculation in Calculate of GroupSummary.
And on Finalize of TotalSummary , I would like to set data in TotalSummary.

But here Start is call two time
1. on starting calculation
2. On calculation of Group summary over. ( this will overwrite the calculated data.)

Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>