If you need to add form editing buttons on top of the grid, you should use the toppager:true option for jqGrid. You do not need to define any other pager div and you do not need to use the pager parameter. jqGrid creates a new div for the pager itself. The div pager identifier will be constructed from the grid identifier and the suffix "_toppager" . For example, if you use
<table id="grid"></table>
then the pager div will have id="grid_toppager" and you can use
$("#grid").jqGrid("navGrid", "#grid_toppager", {}, {url: "yourEditUrl"}, {url: "yourAddUrl"}, {url: "yourDelUrl"});
I recommend that you read this and this old answers for more information.
source share