Once my Grid loads up I use, selectedRows.clear(). Then when the user click on a row, I use the CurrentRowChanged event to do various things. However, I noticed when the first row on the grid is clicked this event does not fire. It’s like even though the row is not visibly selected, it’s still selected. How do I get around this?
There’s a difference between selected rows and the current row. There can only be 1 current row, but there can be multiple selected rows. The current row can be selected or not. After SelectedRows.Clear(), you should also set CurrentRow to null (Nothing in VB).
Imported from legacy forums. Posted by Tommy (had 1581 views)