How to show all rows in the jqGrid?

2019-01-11 00:35发布

jqGrid exposes a property rowNum where you can set the number of rows to display for each page. How do you set the grid to just display ALL rows?

Right now I'm just setting the rowNum to something really high like <%= int.MaxValue %> but I'm wondering if there is a better way.

14条回答
小情绪 Triste *
2楼-- · 2019-01-11 01:06
Jqgrid.PagerSettings.PageSize = Max Row you want to display;
Jqgrid.ToolBarSettings.ToolBarPosition = ToolBarPosition.Hidden;
查看更多
劳资没心,怎么记你
3楼-- · 2019-01-11 01:07

Setting rowNum: '' you get all rows.

查看更多
登录 后发表回答