English 中文(简体)
页: 1
原标题:Requesting page 0 in jqGrid
  • 时间:2011-07-05 13:02:30
  •  标签:
  • jqgrid

是否有可能从jqGrid的一页=0开始?

我正在用我无法控制的数据进行工作,如果我要求第1页,我实际上从服务器上接过第2页,因此,我正在寻找某种方式实际要求第0页。

只要看一看,在jqGrid Options至零中,就没有效果。 在检查请求时,页数仍为1。

我也试图在开始计算之后在晚些时候改变页数。 页: 1

grid.setGridParam({page:0}).trigger( reloadGrid );

This on the other hand sets page successfully to 5 in the request:

grid.setGridParam({page:5}).trigger( reloadGrid );

我猜测,有人对要求第0页进行一些检查,但对于如何开展这项工作有什么想法?

最佳回答
问题回答




相关问题
Retrieving original row data from jqGrid

It is possible to use the getRowData method to retrieve the current of a cell but this retrieves the current cell content rather than the original data before it went through the formatter. How do I ...

How to programmatically select top row of JQGrid?

How does one programmatically select the top row of a JQGrid. I want to have the top row already selected when it is opened on the page. My grid is sorted by a descriptive column so the first row s id ...

Blank when NaN in jqGrid cells

How to set blank instead of NaN in jqGrid cells ? Using formatter ? Is there an example?

complete jqGrid?

Please, can anyone tell me how to use jqGrid? I want to do edit, add & delete functionality. Also I want to show an image in the grid Please tell me, what can I do, and how can I do?

jqGrid: is there an event for when columns are reordered?

I m using the column reordering feature in jqGrid $grid = jQuery("#list").jqGrid({ sortable:true, ... }); Is there an event that fires after columns are re-ordered? If there is, I can t see ...

Wrapping Text lines in JqGrid

Can you get lines of text to wrap in JqGrid? I have had a look round but i can t find anything.

using jqgrid style for usual Table in asp.net mvc

I d prefer using Table and td instead of JqGrid but i like JqGrid styles. has anyone used jqgrid style for usual Grid of asp.net MVC(i mean Table and td) before?

热门标签