I am using a ButtonMoveUp to change the Index value of a selected row. This is working fine but after I change the index value I need to select another row then back to the original row to update it again.How to set focus on updated row after updating row in DataGridView?
2. The second approach (to move items up and down through the grids) - is to set indexes to each item, then to sort the items in the grid by the indexes. Setup the 'move up' and 'move down' buttons to change the indexes (of the item selected and the next one) and to refresh the view.