I did everythingas it is describled under point 26 in
Sticky: Windows Forms Data Controls and Databinding FAQ. However, typing data into a ComboBox field does not work properly.
I set updataGridView1_CellValidating anddataGridView1_EditingControlShowing in the same way as described.
What I get is as follows:
I can type some text into the ComboBox field.
When I leave the field, the newly typed text is added to the ComboBox' Items list.
But...the typed text disappears, after leaving the ComboBox field. And if I start typing in a ComboBox field in the "new line" (the line marked with the '*') and then hit tab, enter or whatever the focus gets set to the next column, the text disappears and
no new line is generated. In a normal text field the line marked with the '*' would change to a pencil as soon as you type a letter. This doesn't happen when typing into the ComboBox' Edit field.
If I select the newly typed text out of the ComboBoxes drop down list (where it is available then), the '*' immediately directly turns to a pencil and a new linewith a '*' gets generated.
Am I missing something?