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
90
comparing Cell Values from 2 rows in a childband
posted

I have a wingrid that has a parent row with 2 child rows under it.  when the form loads I want to compare one of the cell values in the 2 child rows. if they match I will display a msg box.  How can I get the values of the child rows?

Thanks guys and gals

Q

Parents
No Data
Reply
  • 436
    posted

    There might be a better way I have not thought of yet, but you could use the "InitializeRow" event which fires for each row added to the grid.

    There, you could check the list of sibling rows for the row in the event and check for equality of the cell values.

    Hope this helps!

Children