Code to reproduce problem below. Just create new form and copy-paste code below.
My grid is connected to binding list. Clicking on the button remove currently selected row from binding list.
The problem is: Sometimes after deleting, nearest row is selected. Sometimes grid is clearing selection.
Please see attached gif.
I would like the next record to be always selected after deleting current one.
If deleted row was last row, it should select previous one.
I was trying to use GridNavigator.SelectPreviousRow(1) and GridNavigator.SelectNextRow(1) but it do not work, becouse sometimes after deleting row grid is clearing selection.