if I set AllowUserToOrderColumns = False property of a datagridview
clicking the header the sorting is still active
I think you probably misunderstood that property.
It´s about changing the positions of your columns, i.e.
after setting AllowUserToOrderColumns = False they cannot drag on the column header to reposition them.
If you want to enable/disable the sorting of one or more columns please check
the SortMode property of your columns.
Hope that helps.
Please login first to submit.