【问题标题】:How can i add next and previous button on pager settings jqgrid如何在寻呼机设置 jqgrid 上添加下一个和上一个按钮
【发布时间】:2014-01-14 06:55:14
【问题描述】:
如何在寻呼机设置上显示下一个和上一个按钮?
这是我的代码
<PagerSettings ScrollBarPaging="false" PageSize="150" NoRowsMessage="No records to display." />
<ExportSettings ExportDataRange="All" />
<AppearanceSettings ShowRowNumbers="true" />
这里显示如下:
我想做的是像这样显示寻呼机工具栏,但我不知道如何
我怎样才能做到这一点?
提前谢谢你。
【问题讨论】:
标签:
jquery
jqgrid
jqgrid-asp.net
pager
【解决方案1】:
这是我的例子。
表格的 HTML:
<div id="TimeReportsGridContainer" class="gridcontainerdiv">
<table id="TimeReportsGrid"></table>
<div style="display: inline-block; white-space: nowrap;" id="Timereportspager"></div>
</div>
对于网格:
$("#TimeReportsGrid").jqGrid({
之后
pager: $('#Timereportspager'),
pagerpos: 'center',