I have a grid in which i am enabling row edit. When i add a new row (the datasource is a local JS list of objects) and i want to confirm the newly added row, i cannot.
In other words, i am stuck in edit mode. If i press escape, the row get discarded and deleted. But no matter what i press (Enter, Ctrl + Enter, Shift + Enter) i am stuck in edit mode, unless i click on another row and then the newly added row get confirmed and added to the datasource.
Note:
If i click anywhere else other that another row, the newly created row won't get added to the datasource. For example, if when i'm done editing and i click on the save button, the newly created row won't get added to the datasource and it won't get sent to the server.
The same goes for editing existing rows wether on double click or on pressing F2.
PS: I have a "IsPrimaryKey" column.
Can you please show me how to confirm row editing ?
Thank you in advance.