I'm just a newbie to jqGrid, creating some client side page with jqGrid to present and edit data (datatype:'local'). I use inline editing mode and cellsubmit:'clientArray'. I can edit fields and click enter to exit editing mode.
I'd like to retrieve the data on UI grid via following way:
var obj = $("#myGrid").jqGrid('getGridParam','data');
unfortunately the variable (an array) is not updated with my changes.
however, based on info here, if i call getRowData(rowId), i can get the updated data successfully. Is it a bug? or should I call some other method to submit the data so that i can retrieve it via the first line of code?
Here is the jsfiddle with code.