Okay – after I ran your sample – I figured out that I have to set column.SortMode = DataGridViewColumnSortMode.Automatic via code after assigning the Datatable to the datasource . Even though some properties from the designer are used like the Data Column Name and Header Text, the Sorting set in the designer did not stick.
This works now. Thanks!
can´t reproduce here. How is your data populated ? Any event handler that might interfer ?
Any chance to wrap it up in a test case ?
Please login first to submit.