how to show all rows n remove paging in jqGrid

If you want to display all the records / rows in the jqGrid and don't want to display the pagination then, you can do with the help of following code snippet. jqGrid has a configuration option rowNum, you have to set it to -1 to display all the rows in loaded grid.

jqGrid configuration Code

var jqGridObj = $('#'+tblId);

jqGridObj.jqGrid({  
            ....,
            ....,
            rowNum:-1,
            ...
            ...
            other config options,
            ..
         });


Alternate Method
Another Method to remove pager completely from jqGrid

0 comments:

Post a Comment

Ask queries, report bugs, send enhancements and tips that you have experienced.

SHARE