dotnet/winforms
Enhance DataGridView to support non-destructive (multi column) Sort
Aberta
#5.202 aberto em 2 de jul. de 2021
api-suggestionarea-controls-DataGridViewhelp wanted
Métricas do repositório
- Stars
- (4.100 estrelas)
- Métricas de merge de PR
- (Métricas PR pendentes)
Description
DataGridView.Sort seems to be implemented via the quick sort algo in DataGridViewRowCollection.RowArrayList.
I would like to be able to sort the DataGridView in a non-destructive (stable) way when changing the sort column (clicking the header to sort). Eg. If I sort on the first column and then sort on the second, the rows remain sorted by column 1 for equal values of column 2.