jQWidgets Forums

jQuery UI Widgets Forums Getting Started jqxgrid Pagging issue

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 10 years, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • jqxgrid Pagging issue #70118

    apj
    Participant

    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.

    jqxgrid Pagging issue #70121

    Peter Stoev
    Keymaster

    Hi raja,

    You’re using your own custom paging and we are not aware of its implementation so we do not know how we can help you here. In order to get page number and page size within “pagechanged” event handler, look at: http://jsfiddle.net/jqwidgets/9s3LS/

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.