Scroll through the cells in the column and set their Selected property to true.
That sounds awful, but I believe this is the only way to select an entire column and keep automatic sorting.
For example:
grid.ClearSelection();
for(int r = 0; r < grid.RowCount; r++)
grid[columnIndex, r].Selected = true;
SLaks source
share