Filtering and AJAX call

Filtering and AJAX call

jeanjean Posts: 12Questions: 5Answers: 0
edited August 2009 in General
Is there a way to wait for the user to stop typing in the search box for few second before doing the ajax call?
That would avoid doing many useless call

Thanks, and what a great product!

Replies

  • allanallan Posts: 54,909Questions: 1Answers: 8,606 Site admin
    Hi jean,

    There certainly is. Take a look at the fnSetFilteringDelay() plug-in: http://datatables.net/plug-ins/api#fnSetFilteringDelay

    Regards,
    Allan
  • jeanjean Posts: 12Questions: 5Answers: 0
    Thanks a ton Allan! That's just perfect :)

    jean
This discussion has been closed.