Clear filters from viewmodel? #98
Unanswered
LoyalServant
asked this question in
Q&A
Replies: 1 comment
-
Hard to say without seeing the sources. Can you add your use case to the sample app and provide a PR? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If I have a datagrid with an ItemsSource bound to an ObservableCollection, and that ObservableCollection changes, how do I clear the existing filters?
In my case I am clearing the collection, and adding new items so the existing filter is in place and working, but it no longer applies. This means the user has to manually remove it - if they realise that's why they are not seeing what they expect to see.
Thoughts?
Thanks all.
Beta Was this translation helpful? Give feedback.
All reactions