The parameter is rowNumnot a piece of data sent to the server or manually filled. If you show that an empty grid has no data, the user can switch the value at any time rowNum.
reset rowNum,
$("#MyGrid").jqGrid('setGridParam', {rowNum:10});
$("#MyGrid").jqGrid("clearGridData", true);