w-ahmad / WinUI.TableView

A light weight TableView component for WinUI3
MIT License
128 stars 9 forks source link

3-State SortDescriptions #37

Open VisualAlf opened 1 month ago

VisualAlf commented 1 month ago

I'd suggest to have sorting (by clicking the columnheader) go through 3 states instead of 2. So. clicking on a columnheader goes :

none -(click)-> ascending -(click)-> descending -(click)-> none -> -(click)-> ascending...

making it possible to clear sorting with 1 click, instead of opening the contextmenu and then select 'Clear sorting'.

Btw: I really like this component.

w-ahmad commented 1 month ago

Thank you @VisualAlf for your suggestions, I'll try to make it available in 1.3.