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
4133
How To Get Underlying DataRow From SummaryRow
posted

I have a grid with several rows in it.  I turn on the filter row and am able to narrow the rows down to just one row.  I am then trying to get the datarow associated with the grid row.  Normally, I use the ListObject property of the grid row, but I have found that summary rows do not have a ListObject associated with them.  What is the best way to get the underlying datarow for a given summary row?

Parents
No Data
Reply
  • 69832
    Verified Answer
    Offline posted

    I'm having a little trouble understanding whether you're referring to filtered-in rows or summary rows.

    I attached a sample which demonstrates how to get a reference to the underlying datarow from a row in the grid that appears by applying a row filter. This approach works no differently than with any UltraGridRow, but may help you track down the problem in your application.

    Summary rows, on the other hand, do not have an underlying datarow, because they are an abstraction created by aggregating cell values from one or more "actual" rows.

    Forum_478754.zip
Children