However if the code inside grid.formedit.js is changed (line 356) to $($t).addRowData(ret[2],postdata) – losing “top” parameter, row is displayed correctly.
I do have one question however. On adding new data via FormEditing, what is the structure of response from server? I need to transfer ID of the newly submitted data row back to user and set the ID of row.
Thanx for quick reply. I figured out that the problem is not in jqGrid. It is actually in jquery part of code. The thing is that xml.responseXML gets populated on first load but on reload it doesn’t. On second load only xml.responseText gets populated, the xml.responseXML.xml remains empty.
I will try to populate datagrid with getJSON.