DataGridViewAutoFilter

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.

  1. Add 3 files to project
  2. find-replace DataGridViewTextBoxColumn -> DataGridViewAutoFilterTextBoxColumn
  3. done

About erictummers

My work as a recruited developer changes almost every month. I like challenges and sharing the solutions with others. On my blog I’ll mostly post about my work, but expect an occasional home project, productivity tip and tooling review.
This entry was posted in Development and tagged , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s