jQuery UI Widgets Forums Grid Virtual paging from PHP with Filtering

This topic contains 2 replies, has 2 voices, and was last updated by  Benji6996 11 years, 10 months ago.

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

  • Benji6996
    Participant

    I have a grid that gathers its data from a PHP script, via an MSSQL database. This all works brilliantly, apart from the fact that the data is pretty darn large and can take up to 15 seconds to load…

    To add a little bit of complexity to the issue, I also want to implement the filtering feature for the columns (contains, equal to etc…).

    The issue I have is that I am not sure the best way to go about this. Obviously 15 seconds to load the data is not good enough and therefore I need to implement some sort of paging server side to prevent the full recordset being returned to the grid…

    Can you advise a good way of achieving this?

    Is there a way to handle the paging and filtering server side? Obviously this will require me to write the PHP (no issue here), I simply need to know how to pass the paging and filtering options as parameters to a url?

    Something like:

    E.g. http://www.example.net/items.php?page=1&pagesize=100&col1filter=contains&col1query=test...

    Alternatively, if you have any other ideas of how I can achieve this, please advise me 🙂

    Thanks in advance


    Peter Stoev
    Keymaster

    Hi,

    We already have online example about Server Paging in combination with Filtering. Please, take a look at the samples available on the PHP section in the Demos.

    Best Regards,
    Peter Stoev

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


    Benji6996
    Participant

    I do apologise, that was the one page I forgot to check!

    Thank you very much, sorry to waste your time

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

You must be logged in to reply to this topic.