I have a button. this button opens new window where I can change status, watch changes, add comment. But first I want to resfresh my table and get the latest data from the server. how can i do this? I lose my getGridParam after updating table.
$("#btn").click(function(){
$('#com').val("");
var form=page.table.jqGrid('getGridParam','selrow');if(!form) return;
/*alert(form);*/
/*$('#table').trigger('reloadGrid');*/
var status=page.table.getRowData(form).status;
/*alert(status);*/
tableUpdate(form);
});
Hello Gtufc92 Gtufc92,
It would be good if you have provided some fiddle or code snap here, so that can help others to understand about your question. Since I was having similar kind of requirement what needs reloading of grid after an inline edit. so, I mostly do use of below line of code:
Alternatively, if you can use afterSubmitCell where you can trigger reload grid data, as shown here: