I want to reload the content of my grid and to preserve the current row. Something like:
nRow:=Grid.CurrentRow;
?.
Grid.CurrentRow:=nRow;
How can I do this?
Thanks!
You can get the selected row with:
Works as I want, however I do read/set the TopRow, too.
The selected row persistence is for keeping the current row, the TopRow is for scrolling to a certain row. Both can be used to preserve the view/selection state of the grid.