Dear Hamroush,
On leave the the changes are committed, automatically. The behaviour can not be changed.
For more flexible editing experience, please use a list view that is styled as a grid
Cheers, Andries
Once you make the columns editable in datagrid then yo can just hit enter key in order to save your changes with in the grid .