Hi,
Asked before but quite surprisingly not answered. Allow me to try again.
I have a DataGridView bound to a DataTable. I want my users to be able to sort a column by clicking the header. I don't want the DataGridViewRows to rearrange themselves while a user is editing cells, as this is perceived as annoying.
However, once a sort has been invoked the DataGridView keeps on sorting.
How do I tell the DataGridView to stop, cancel or end sorting
Why does the DataGridView behave like this Is this a bug
I tried the DataGridViewColumn.SortMode property but this doesn't cancel sorting. It merely prevents user from sorting themselves.
I tried a few work arounds (e.g. cloned DataSets) mentioned in this forum but they are cumbersome and keep raising issues.
I would appreciate your help on this matter.
Regards, Tonn