dotnet/winforms

Enhance DataGridView to support non-destructive (multi column) Sort

Open

#5 202 ouverte le 2 juil. 2021

Voir sur GitHub
 (8 commentaires) (1 réaction) (1 assigné)C# (922 forks)batch import
api-suggestionarea-controls-DataGridViewhelp wanted

Métriques du dépôt

Stars
 (4 100 stars)
Métriques de merge PR
 (Merge moyen 14j 22h) (56 PRs mergées en 30 j)

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.

Guide contributeur