Wait to Filter - AJAX Data

Wait to Filter - AJAX Data

tdktank59tdktank59 Posts: 28Questions: 0Answers: 0
edited October 2011 in General
Hey so I have 120,000 rows of items that I am throwing at this table via AJAX (only 10-20 at a time) and need to allow searching. However when I start typing into the search box it immediately starts pinging the server for data (eg: every keyup it requests more data)

Is there a way to make this wait say 5 seconds then send the request?

Replies

  • tdktank59tdktank59 Posts: 28Questions: 0Answers: 0
    Should look harder next time (searched the API and stuff but didn't see anything before I posted.)... Found the answer

    http://datatables.net/plug-ins/api#fnSetFilteringDelay
This discussion has been closed.