Server-side processing making too much requests

Server-side processing making too much requests

krojewkrojew Posts: 30Questions: 0Answers: 0
edited October 2010 in Bug reports
Hello,
I noticed that dataTables send a request to the server every time a key is pressed in the search box. This is also happens for arrow keys. The table should have a (configurable) timeout before sending a request to allow the user to complete the search term.

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    This is exactly what the fnSetFilteringDelay does :-)
    http://datatables.net/plug-ins/api#fnSetFilteringDelay

    Allan
  • krojewkrojew Posts: 30Questions: 0Answers: 0
    Didn't notice that one. Still, the table shouldn't send a request on every keypress (ie. arrows).
  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    No you are quite right - that's something I'll address in the next release. Thanks.

    Allan
This discussion has been closed.