Hi Lagur,
You need to remember the primary key of the selected row before the sort
order is changed, and then select the row with the same primary key after
the search.
--
Sincerely,
Dmytro Lapshyn [Visual Developer - Visual C# MVP]
"Lagur" <progy_NO_@_SPAM_walla.com> wrote in message
news:uC**************@TK2MSFTNGP15.phx.gbl...
hi
im having problem on getting proper CurrentRowIndex in DataGrid
when column header is clicked (probably changes position or sorted out).
how will i get the previous CurrentRowIndex even the datagrid is changed?
thanks a lot.