Our WinForms application needs a filter on the DataGridView control. The google search took me back to July 2006 when Microsoft published Building a Drop-Down Filter List for a DataGridView Column Header Cell.
Fast forward back to 2017. Turns out someone put the code on codeplex under datagridviewfilter and I just downloaded the sources.
- Add 3 files to project
- find-replace DataGridViewTextBoxColumn -> DataGridViewAutoFilterTextBoxColumn
- done