• Resolved sinapars

    (@sinapars)


    Hi Team
    As you know, the search is done by Ajax
    As a result, by typing each word, a request is sent to the server, which does not seem very logical
    For example, if we want to search for an 11-digit number, 11 requests are sent to the server, and if each one lasts 5 seconds, our total search time will be 55 seconds.
    In large tables this problem has become extremely problematic
    This problem already exists for me and is not a guess
    I have a series of suggestions to fix it:
    In the settings of each table we can choose whether the search structure is Ajax or not
    In the settings you allow us to create a time delay, for example the request is sent to the server after n second
    Or the request is sent to the server after the user types
    Or, in the settings, it will be possible for us to place a search button so that the user can see the results after entering the desired values ??and pressing the search button.
    Or we can specify in the table settings according to the structure we have, then type n letters, numbers or … the request will be sent to the server.
    I hope that this proposal, which I think will have a great impact on performance, will be accepted.

    Finally, do you temporarily suggest to me that I can do one of the above myself using jQuery?

    BR
    Sorry for weak english

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter sinapars

    (@sinapars)

    I will be grateful If you have a sample code for this, put it here

    Plugin Author wpDataTables

    (@wpdatatables)

    Hi sinapars,

    Sorry for the trouble,

    Based on your request we can see that you are using server-side tables(non server side tables do not use Ajax for search). Server-side tables are only available in premium version of plugin and on this forum it is not allowed to provide support for premium version. Please contact us on our support platform in wpdatatables category.
    Thank you for understanding.

    Thread Starter sinapars

    (@sinapars)

    Hi Again
    I tested this on your demo version
    And despite the Server-side being active, the requests were still sent in Ajax
    BR

    Plugin Author wpDataTables

    (@wpdatatables)

    Hi sinapars,
    We are not sure which table you are tested, but like I explain in previous post server-side tables(tables created from SQL queries or manual tables-not available in Lite version) only have AJAX after using global search because rendering logic is done over our server-side logic not over Datatables jQuery plugin on which is based our plugin. All data tables (tables created from Excel, CSV, JSON, XML and PHP array) do not have server-side turn on and global search is done over Datatables plugin logic(there is no Ajax calls).

    Once again as this functionality are not part of the Lite version please contact us over our support platform provided in previous post.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Wait for User to Stop Typing and ajax call’ is closed to new replies.