jQWidgets Forums

jQuery UI Widgets Forums Getting Started Dynamically changing jqxgrid pagesize

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

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

  • jumpstart
    Participant

    Hi Peter,

    We have a problem here. In our scenario, we fetch say 500 (out of total rows of 2000) rows from database so our pagesize and totalrecord properties of jqxgrid are set accordingly. But when user clicks on NEXT PAGE now due to certain conditions I fetch 700 rows from database so my pagesize should change to 700 (else it only shows 500 rows and 200 rows are unseen).

    As I read the API, pagesize property cannot be reset once widget is loaded. So how do we achieve the above results?

    Thanks
    Jumpstart


    Peter Stoev
    Keymaster

    Hi Jumpstart,

    It is possible to set it dynamically and also there is no information in our documentation which says that you can’t. Here’s a sample – http://jsfiddle.net/jqwidgets/oy8g19m5/.

    Regards,
    Peter Stoev

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

You must be logged in to reply to this topic.