MahApps.Metro icon indicating copy to clipboard operation
MahApps.Metro copied to clipboard

Add Filter Buttons in DataGridColumn Headers

Open LiTo96 opened this issue 1 year ago • 1 comments

Describe the feature

In each DataGridColumn there should be filter Button in the header, which opens a popup. In that Popup there are all Values of that Column listed with CheckBoxes next to them, so you can filter by these values. Also it would be nice if there was a search-TextBox in that popup, so you can search for the values you want to filter on. And an Option to select/unselect all Example: image

Inspiration for implementing the filters: https://www.codeproject.com/Articles/5292782/WPF-DataGrid-Filterable-Multi-Language

LiTo96 avatar Feb 01 '24 07:02 LiTo96

I 've allready done this from the sample you gave mixed with datagrid extended custom control...the problem is mainly how to fill the popup list with the data from the collectionview - like excel it works with the loaded data in the grid. restoring filters when naviguating is not easy not really compliant with paginated datasource and search. translation is done through xaml, not resx it works with mahapps styles..., fully automatic and converters can be pluged image

may be i can merge that in a fork ?

TheCamel avatar Feb 07 '24 09:02 TheCamel