What Is the proper way to add a row to jqGrid? If I call this:
$('#quoteGrid').jqGrid('addRowData', undefined /* random row id */, rowData);
The row appears in the grid, however, if I call this at any point after:
$('#quoteGrid').trigger('reloadGrid');
The row is gone. I've checked firebug and the data is actually being added to the array, but it gets removed when the reloadgrid is called.
My grid data parameters:
datatype: 'local',
data: data,
loadonce:true,