user1169483
user1169483

Reputation: 21

jqgrid paging in edit form

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

Answers (2)

Deepak Pathak
Deepak Pathak

Reputation: 1

In editOptions : { viewPagerButtons:false } This is for Previous and Next button on Edit form

Upvotes: 0

Oleg
Oleg

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

Related Questions