Hi,
I am trying to customise a DataGridView cell to include a combobox and a text field. So far myCell class derives from DataGridViewTextBoxCell class. My class has a Combobox as a private member but I am not sure how I can render it. I am overriding the Pain method but I have no idea how to draw the combobox. I set its location to be at the origin of the cell and its size to be equal to cellBounds size. I know that if I was creating a combobox on a form I would have to add it to my forms controls list for example so it would get drawn but in this case I really dont know how to do it.
Note: I am not using any sort of sql db.
Ideally I would have a combobox displayed on the top half of my cell and a text box on the bottom half of my cell where users could change the text at runtime.
Does anyone know the best way to achieve this?
Thanks.