1
Help for ParamQuery Pro / Re: grid option get curPage is always "1"
« on: July 13, 2015, 11:51:40 pm »
I think document need to be update, it said dataModel.curPage instead of pageModel.
Get or set the pageModel > curPage option, after initialization:
//getter
var curPage=$( ".selector" ).pqGrid( "option", "dataModel.curPage" );
//setter
$( ".selector" ).pqGrid( "option", "pageModel.curPage", 2 );
Get or set the pageModel > curPage option, after initialization:
//getter
var curPage=$( ".selector" ).pqGrid( "option", "dataModel.curPage" );
//setter
$( ".selector" ).pqGrid( "option", "pageModel.curPage", 2 );