dotnet / DataGridExtensions

Modular extensions for the WPF DataGrid control
MIT License
822 stars 105 forks source link

Force Evaluate filter #61

Closed grizoood closed 3 years ago

grizoood commented 3 years ago

Hello,

Is it possible to force the update of the filter?

Exectue the IsMatch function of IContentFilter.

grizoood commented 3 years ago

if GlobalFilter is not defined on the DataGrid. When changing a filter, the IsMatch function is not called.

In Customized2ViewModel,

//public Predicate GlobalFilter { get; } = item => (item as DataItem)?.Column1?.Contains("7") ?? false;

Commented on GlobalFilter and tried to apply filter.

tom-englert commented 3 years ago

What exactly do you want to achieve? Can you be more specific?

tom-englert commented 3 years ago

Closed as stale