In our application , we need a functionality where user enters data in the row and and once the editing of the selected row is complete a new row gets added. To implement this we have used inline edit feature of the JQgrid and on ‘cellendedit’ event of the jQgrid logic of adding new row has been written. This implementation works smoothly till user is pressing the enter key and go for the editing of the new row. However , if user enters something in the row and clicks on the ‘submit’ button of the form without pressing the ‘enter key’, the jQgrid first adds a new row. So in such case user needs to hit submit button twice in order to submit the form.