I have a dgv that is populated with formatted data(backcolor). Ss soon as a user clicks on one of the headercells to re-order the rows all the formatting disappears. How can I set the headercells to be unclickable?
I tried e.handled = true, but that does not work as it is not part of the family...
You can set
DataGridViewColumn.SortModeproperty toNotSortable.