在任意位置调用
$("#grid-table").jqGrid().setGridParam({datatype:'json'}).trigger('reloadGrid');
只需要换#grid-table 即可.