dotnet / DataGridExtensions

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

The filter is still visible when I set DataGridFilter. IsAutoFilterEnabled="False". #65

Closed BigBirdBoom closed 3 years ago

BigBirdBoom commented 3 years ago

Hello I have a problem when I tried to modify the DataGridExtensionsSample. In BasicView.xaml I modified CheckBox like this : <CheckBox x:Name="IsFilterEnabled" DockPanel.Dock="Top" IsChecked="True" Content="Enable filters" VerticalAlignment="Center" /> The filter is correctly disabled but still visible. And then I chenged DataGridFilter.IsAutoFilterEnabled to False:

<DataGrid Name="DataGrid" SelectionMode="Single"
                ItemsSource="{Binding DataProvider.Items}"
                dgx:DataGridFilter.IsAutoFilterEnabled="False" />

But still the same problem. By the way, the filter is not visible when modifying this property in other Views.

Thank you!

tom-englert commented 3 years ago

Can you post a full sample?

BigBirdBoom commented 3 years ago

DataGridExtensionsSample.zip