hi i have a datagridview in a form… users by clicking the column name can sort the row data in that column either in ascending or descending orders… how is it possible to disable it? so that the data in rows of every columns stays in that order in which they were on the start of the form… thanks!
Share
Programmatically:
YourDataColumn.SortMode = DataGridViewColumnSortMode.NotSortable;
In the designer: