Hi,
I'm trying to write a summary control that we will be connecting to various grids in our application to display various summaries (totals, weighted averages etc). I'd like to use the value of summary rows as the basis for a number of the calculations to be used in the control but can't see a way to access the actual value summarised. Is this exposed anywhere?
The SummaryValues are on the rows collection, since they are specific to each collection of rows.
So, for a root-level summary, you could do something like this:
grid.Rows.SummaryValues[mySummaryValueKey].Value
Just to clarify....
Thanks for getting back to me Mike, and at least now I can stop relying on SummaryValueChanged!
I don't suppose you know why the SummarySettings no longer update when the display is set to None? Ideally I'd like to use the SummaryValues but don't need them displayed in the grid. And there's no Hidden property.