Adding a jqGrid pager after Grid creation

304 Views Asked by At

Does anybody know how adding a jqGrid pager after grid creation using 'tableToGrid' function?

1

There are 1 best solutions below

0
On

jqGrid uses internally the setPager function to make the most work for creating of the pager. The function setPager is local and can't be called from the outside.

If you need have in some situation the pager I would recommend you to create it always, but hide with respect of $('#pager').hide() till the pager will be needed. The grid with hidden pager looks exactly like the grid without pager.