loadonce in jqgrid 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
loadonce: true,
navOptions: { reloadGridOptions: { fromServer: true } }
Example 3: loadonce in jqgrid
$("#list").trigger("reloadGrid", { fromServer: true, page: 1 });
Example 4: loadonce in jqgrid
$("#list").setGridParam({datatype:'json', page:1}).trigger('reloadGrid');