Hi
Attached a solution where the issue is reproducable. It may have something to do that we use entity objects that are attached to the context and not custom busines objects. I haven't been able to reproduce the issue with normal business objects.
Furthermore I found out, that it not only has something to do with nullable types but also with the dropdown showing the different types of enumerations.
Here is how to reproduce the issue with the attached solution:
1. Cursor is on name field: enter a name
2. Enter "Tab" to go to the next dropdown field -> move further to the next field via tab (the dropdown chooses the first entry in its datasource)
3. Click on the a field in another row. Normally, a new row should be added but this does not happen. (With our extended custom grid class-> the row should appear pink. Please also see the method CustomGrid.GetBoundObject(int rowIndex) that returns null in this case where it should return the newly added object.
Strangly, it works when i choose a value in the dropdown via mouse click or i enter a value in all nullable fields (such as float?).. Very strange to me.
Thanks in advance and greetings
Dan
PS: please dont mind some custom code in the CustomGrid class (inheriting from the GridDataboundGrid). Most of it does not yet work and does not influence the issue.
TestGridExtensions_2b008148.rar