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
1600
Finding the UltraGridRow that is related to an UltraDataRow
posted

I am trying to find a way to get the UltraGridRow in the UltraWinGrid control that is related to my UltraDataRow in the UltraWinDataSource.  So far, I have not been successful.  Does anyone know how to do this?

Parents
No Data
Reply
  • 332
    Verified Answer
    posted

    Hi,

     I got an idea - and I've been using this in my application for a while now. Try assigning a unique object to the Tag property of the DataRow; then if you have a specific GridRow selected, you can just retreive that object from the Row's Tag object and determine if they are the same. This way, there is a 1-to-1 relationship between DataRow and GridRow. The drawback is that you'll have to synchronize lock your datasource when iterating through each row.

     kel

Children