addList sent back by server is supposed to contain same values as the posted addList with the exception of record Id.
It worked like this.
But I want to show the values recorded in other columns. For this add "grid.refreshDataAndView ();" after the line "grid.commit ({type: 'add', rows: changes.addList} I added the line.
There seems to be no other way.