Wait for User to Stop Typing and ajax call
-
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
- The topic ‘Wait for User to Stop Typing and ajax call’ is closed to new replies.