ColumnFilter
The ColumnFilter extender component allows you to add row filtering to your DataGridViews. It includes 2 ready made FilterPanels.
Features
Supports three kinds of column filters
SimpleColumnFilter. Displays a list of all distinct values of the column
WhereColumnFilter. Lets you set up Where conditions depending on the DataType of the column.
CustomColumnFilter. You build your own filter panel.
How to Use
The ColumnFilter extension can be added to a Wisej project using NuGet Package Manager.
When using the WhereColumnFilter you need to also add a reference to System.Linq.Dynamic
You can set up a different image (or same image in a different color) that is displayed when the column is filtered.
More than one ColumnFilter can be dropped on a DataGridView´s container.
WhereColumFilter
This filter panel adapts to the ValueType that has been set for the column and that determines which operators are displayed. Multiple conditions can be selected and users can control if those are combined with AND or OR.
SimpleColumnFilter
The SimpleColumnFilter loads a list with all distinct values of the column. You can select/deselect multiple columns, select all, or clear the list.
You can also use the ColumnFilter extension filter as a base to implement your own custom filter by providing code to the following events or override the functions:
Last updated