Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

Dropdown filter in DataGridView

$
0
0

I have a requirement of adding a dropdown filter in each column of my dataGridView.

The filter will be a combo box under the column header & underneath there will be a textbox which will contain the values(user input).

As soon as user types in the data, based upon combo text and this values it should filter the data.

I have tried achieving this upto an extend using Row Filter. But the first two rows gets hidden as the combo controls are added in the grid. 

Is there a way to display those rows and start it after the textbox location. 

Please provide a better suggestion which would lower performance and User Object impacts.

-----------------------------------------------

http://social.msdn.microsoft.com/Forums/getfile/382422

http://social.msdn.microsoft.com/Forums/getfile/382425



Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>