Reputation: 21
I need to forbid paging to user (nothing should happen on pressing next, prev buttons).
I have found onPaging: function (b) {...}
event with returning 'stop' string. But this works only for the grid. Not for the edit form. When I print param, getting 'user' value all the time.
Can anyone help?
Upvotes: 1
Views: 1835
Reputation: 1
In editOptions : { viewPagerButtons:false } This is for Previous and Next button on Edit form
Upvotes: 0
Reputation: 221997
Probably you need to use viewPagerButtons: false property of the form editing:
$("#list").jqGrid("navGrid", "#pager", {/*options of navGrid*/},
{viewPagerButtons: false}, // options of Edit form
{viewPagerButtons: false}); // options of Add form
Upvotes: 1