I have been trying to get a grid to be updated from the datasource when a button is pushed.
So I have in the click event something like this:
$(\'#g
var newdata= //You call Ajax peticion// $("#idGrid").clearGridData(); $("#idGrid").jqGrid('setGridParam', {data:newdata)}); $("#idGrid").trigger("reloadGrid");
in event update data table