Hi jqWidgets team,
I am using jqxgrid with pagging. First time i click next button the page number will changed correctly,According to my requirements i will go to next tab again i came back to the grid page then i click the next button that time page content changed but page number not updating correctly remains 1. Could you please tell me the reason. I am using below code for page changing,
var onpagechange=this.onpagechange;
selector.off(‘pagechanged’);
selector.on(‘pagechanged’, function () {
var datainfo = selector.jqxGrid(‘getdatainformation’);
var paginginfo = datainfo.paginginformation;
self.label.text(1 + paginginfo.pagenum + ” | ” + paginginfo.pagescount);
var pagenum=paginginfo.pagenum;
var pagecount=paginginfo.pagescount;
//pagenum starts on zero
zenInvokeCallbackMethod(onpagechange,this,’onpagechange’,”pagenum”,pagenum,”pagecount”,pagecount);
});
I don’t know how to debug the corresponding library file.