Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Filter Buttons in DataGridColumn Headers #4460

Open
LiTo96 opened this issue Feb 1, 2024 · 1 comment
Open

Add Filter Buttons in DataGridColumn Headers #4460

LiTo96 opened this issue Feb 1, 2024 · 1 comment

Comments

@LiTo96
Copy link

LiTo96 commented Feb 1, 2024

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

@TheCamel
Copy link

TheCamel commented Feb 7, 2024

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants