Click here to Skip to main content
15,898,134 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I want to show the datagridview as combobox dropdown and datagridview with evry action like dropdown i.e mouse action , key press ....


please help me ......
Posted

1 solution

I think you'll need to build that control yourself. It's not that hard... I would add a datagridview control to your form and hide it. Then, I would add a text box where I wanted the combobox to be, and a small button next to it to serve as the drop down button. When someone clicks on the dropdown button, move your data grid view under the textbox, size it to the length of the textbox, and make it visible. If someone clicks anything else on the form, set the datagridview visible = false.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900