Hey there, Awesome Customers!

Just a heads up: We'll be taking a breather to celebrate International Workers' Day (May 1st and 2nd - Wednesday and Thursday) and Orthodox Easter from Good Friday (May 3rd) through Easter Monday (May 6th). So, from May 1st to May 6th, our team will be off enjoying some well-deserved downtime.

During this time, our customer support will be running on a smaller crew, but don't worry! We'll still be around to help with any urgent matters, though it might take us a bit longer than usual to get back to you.

We'll be back in action at full throttle on May 7th (Tuesday), ready to tackle your questions and requests with gusto!

In the meantime, you can explore our documentation for Amelia and wpDataTables. You'll find loads of helpful resources, including articles and handy video tutorials on YouTube (Amelia's YouTube Channel and wpDataTables' YouTube Channel). These gems might just have the answers you're looking for while we're kicking back.

Thanks a bunch for your understanding and support!

Catch you on the flip side!

Warm regards,

TMS

Okay
  Public Ticket #3544534
Filter Large table with Server side processing
Closed

Comments

  • Rudi started the conversation

    Filters don't work when Server Side processing is enabled on a SQL based data source?

    I need to enable server side processing of a SQL table which will become 20,000+ rows over time.  

    At the moment the table is +-100 rows and already takes too long to load on a page refresh. For this reason I need to enable server side processing to limit the number of rows loaded on page load until a user applies filters.

    Why does Powerful Filters not work with Server Side processing? What are my options to allow users the Filter functionality and to have data retrieved based on Filter parameters rather than pulling all rows in the SQL data table?

  •  2,498
    Aleksandar replied

    Hello Rudi.

    The Powerful Filters add-on only provides you with the ability to use cascade filtering and to hide the table before filtering is applied. All other filtering functionalities are already included in wpDataTables.

    The speed of a page depends on a lot of factors, not only wpDataTables. If you're having issues with the loading of the table with 100 rows, you may have too many active components on the page, too much data (images, videos, etc), or you're using a slow server, or a bad hosting plan.

    You can check out this table which consists of 2,560,000 entries. At the bottom of the table, you'll see the filters. Feel free to use them and see how the plugin works with MySQL query-based tables, on a stable server.

    Can you check with your hosting provider and ask how much memory is allocated to your website?

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  • Rudi replied

    Thanks Aleksandar!

    Previously I did a few tests on a complex SQL query I used as a data source for my table.  Whenever I enabled Server Side Processing, column filters would not return any rows for my table...

    Your response prompted me to try configuring my SQL script as a SQL view, and now with Server Side Processing enabled my filters work as expected.

    Thanks for getting back to me - This has been a great help and I'm very relieved that there isn't a limitation as assumed at first.

  •  2,498
    Aleksandar replied

    I'm glad to have been of assistance, Rudi.

    Complex SQL query is often correctly displayed in a table, but the parser that we use can't handle it correctly, so filtering, sorting, and search may not work correctly or at all. It's great that you thought of using a view and I apologize for not mentioning it in my initial response.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables