tiberiu2015 / flexigrid

Automatically exported from code.google.com/p/flexigrid
0 stars 0 forks source link

Set initial page and total #84

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
How can I set the initial page and total pages for the grid?

I tried to set these parameters, but the grid always starts in page 1.

Original issue reported on code.google.com by acdiasju...@gmail.com on 26 Oct 2011 at 3:50

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I have a solution: use "newp" as parameter (not "page")

For example:
$("#datagrid").flexigrid({newp: 2})

If the value exceeds the actual number of pages, then the case is not handled 
(no rows are shown except the header and the footer).

Original comment by paris...@gmail.com on 21 Feb 2012 at 12:18