Hi,
I have a problem with a formula. I can't get the summary value (just a sum of values) when I have more than one group.
I want to use the sum of ALL rows but i just retrieve the sum of the current group.
So how to retrieve the sum of all values and not just the sum of rows in the same group ?
Thanks in advance!
Sébastien
Hi Sébastien,
That should be easy enough. You just get the SummaryValue from the rows collection. In this case, you would the root-level rows collection in the grid. This collection will be a collection of GroupByRows, since the grid is grouped, but that doesn't make any difference to the summaries.
Debug.WriteLine(this.ultraGrid1.Rows.SummaryValues["MySummary"].Value);
Hi Mike,
Yes I want to retrieve the sum value in code.
Thanks,
Do you mean that you want to retrieve the sum in code or are you talking about displaying it?