jqgrid loadonce explained code example
Example 1: loadonce in jqgrid
jQuery("#datalist").jqGrid().setGridParam(
{
datatype:'xml',
page:1,
url : '<%=request.getContextPath()%>/PreviewReport?cmd=1&fromdate='+vfromDate+'&todate='+vtoDate+'&status='+vstatus+'&keyword='+vkeyword+'&mdn='+vmdn+'&filetype='+vfiletype
}
).trigger("reloadGrid");
Example 2: loadonce in jqgrid
$("#list").setGridParam({datatype:'json', page:1}).trigger('reloadGrid');