I\'m using a Windows Forms DataGridView to display a generic list of MyObject
objects.
First of all I wrap this collection into a
My Solution is this:
I work with myBindingSource at my own, I do sorting, grouping ..whatever in a separate thread. Then I simply bind the result to the DataGridView.
myDataGridView.DataSource = bindingSource;
For this purpose I've setted all the columns to be sorted 'Programatically'
(in designer)
Then I manually add the arrow (ASCENDING / DESCENDING)
by setting
cell.SortGlyphDirection = ... ;
in code behind.