Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
594
Accessing the value of summaries
posted

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?

Parents
  • 469350
    Verified Answer
    Offline posted

     Hi,

    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

Reply Children