Home › Forums › WinForms controls › Xceed Grid for WinForms › insertionrow.endedit does not add data to datarows › Reply To: insertionrow.endedit does not add data to datarows
I had this before, but it was caused by the validation code of the underlying DataTable that threw an exception. If the GridControl is trying to add the newly created row to the underlying DataTable, it throws an exception if the row contains invalid data, and the row just doesn’t get added. To see if this is the problem, you could check the Output-window in Visual Studio. If it contains lines that say something like “A first chance exception of type ‘System.Data.SomeException’ occured in …”, you know that’s the problem.
Imported from legacy forums. Posted by Tommy (had 342 views)