Hi,
I am using Column Filter on the grid, there are many columns that can be filtered. is there a way to reset / remove current filter values for all columns in the gridview at once?
thanx,
D
Hi Dino,
we have added a Clear() method to the ColumnFilterPanels.
Once you have pulled the latest version from Github you can clear all Filters with some code like this:
foreach (DataGridViewColumn col in this.dataGridView1.Columns) { var columnFilterPanel = col.UserData?.FilterPanel as ColumnFilterPanel; if (columnFilterPanel != null) { columnFilterPanel.Clear(); } }
Best regards
Frank
Please login first to submit.