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
210
XamDataGrid Set selected row by Identity
posted

Hey,

I have a XamDataGrid, that displays a SQL-Table via a DataTable. 
Multiple users work on this table, so each of them can insert new rows.

Because of that I need to update my DataTable after each RecordUpdate.
The problem is, that after the DataTable is refilled, the selection from before isn't selected anymore.

I cant select a row by the index, cause it can happen another user added a row, so the index of the row is not the same anymore.

IS there a way to select a row by the Identity in the ID-Column? Or any other way to select a row beside of the index.