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
705
How to get the row from underlying object
posted

Hi,

how can I get the Row-Object from the underlying data object?

In my case, I have to select a specific row but I don't have the associated row object.

Thank you,

Stefan

Parents
  • 2490
    Offline posted

    Hello Stefan,

    XamGrid uses Virtualization. If you have the data collection and the XamGrid's row collection, all shown on the screen, you can search for a specific row. If you use Paging or Filtering is different scenario - not all the rows will be available, so if you want to select a row it might not be visible  and you will get NullReferenceException.

    In your scenario I will suggest get the rows of the XamGrid, that it currently has, look for the one you want to select and select it only if it is available.

    If you have additional questions concerning this matter, please let me know.

Reply Children