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: 61,650Questions: 1Answers: 10,094 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.