DataGrid InLine Editing - problem with saving new rows

There is problem when saving a row in generated pages for inline editing, the problem is only for saving new records not for saving existing ones.

Such issues happen if there are constraints at the database/table level e.x there are some table columns which are not in the edit grid. You can look in the output console window to check for further errors