Need example of custom combobox inside DataGridView

Need example of custom combobox inside DataGridView

Post by UXVpbWJse » Sun, 01 Jun 2008 05:24:01

I'm looking for a tutorial, example, or source code sample which shows how to
host a custom ComboBox control inside a DataGridView.

In other words, I have a new control "MyComboBox" which inherits from
ComboBox, then I create a an EditingControl for this class, which implements
IDataGridViewEditingControl, as well as associated classes which inherit from
DataGridViewComboBoxCell and DataGridViewComboBoxColumn.

I have my code basically working, with the following exceptions:
- the displayed text being shown after a selection is made is not correct
- the initial drop-down is not entirely shown correctly, but all subsequent
drop-downs are

Anyone with suggestions or (better yet) a sample of how to do this would be