Click here to Skip to main content
16,007,885 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

I have made a ownerdrawn Combobox and also a DataGridView With a ComboboxColumn.

Now what I have to do is I Want to replace the DatagridView Combobox column With my ownerDrawn Combobox.

How Can I implement this?
Can anyone please help me?

Thank you in advance.

Regards,
Lakshman
Posted
Updated 17-Nov-10 18:14pm
v2
Comments
Sandeep Mewara 18-Nov-10 1:14am    
What is ownerDrawn combobox?

1 solution

Easier said than done. It's a bunch of work since your control has to obey the DGV's commands and support its various modes. For example, what does your custom column do when the row it's rendering is not being edited? What does it do when the user clicks a row? Now when the user starts editing YOUR column in that row?

You can find examples here[^].
 
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