I have a DataGridView, and inside a ComboBox cell which content a list of items. When we click on one of those item, I show the content of these "Item" in my main window. BUT if the user click on the small arrow to select an item but finally don't choose any, I got a NullReferenceException (Object reference not set to an instance of an object).
I found something on Google saying that I need to implement my own ComboBoxCell (or column) but the only example I found is even worse that what I got.
For your information, I fill the items of the ComboBoxCell in DataBindingComplete, I put the value in RowPrePaint. Ho yeah: and each ComboBoxCell got a different list of "Items".
Please help found a solution.
P.S. If someone can explain we why I have this problem...