jQWidgets Forums

jQuery UI Widgets Forums Grid Reset to first page

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

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Reset to first page #24635

    ewaldhofman
    Participant

    My grid is using the virtualmode with paging. When the user goes to the next page, I handle the event and do a server call to get the new data page. The source of the grid is then updated with the new page. The result is that the source of the page only contains 10 items (assuming that the pagesize is 10), regardless on what page you are.

    Almost everything works, although when I move to a page, it first loads the data (which is good), but then resets the pager control to the first page. I assume that is the case because there is only one page of items in the source.

    What can I do to fix this?

    Reset to first page #24639

    Peter Stoev
    Keymaster

    Hi,

    You may look at our samples and help topics about Server Paging implementation. Here’s an Online sample with Server Paging: http://www.jqwidgets.com/jquery-widgets-demo/demos/php/serverpaging.htm?web

    In case you use ASP .NET or ASP .NET MVC, you may look at the help topics in the ASP .NET Integration help section on our Documentation page.

    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.