column filtering not affected by fnSetFilteringDelay?

column filtering not affected by fnSetFilteringDelay?

mikedmiked Posts: 43Questions: 3Answers: 0
edited December 2011 in General
have the column filters in place in my table footer (http://datatables.net/release-datatables/examples/api/multi_filter.html) on a table with quite a bit of data with some large fields and the instant search is killing the tables functionality, but fnSetFilteringDelay is having no impact, watching the console in Firebug you can see the queries fire off instantly after each keyup

code is in a pastebin here: http://pastebin.com/4tBLvbRT

this forum post last year had the same problem, but no replies.

could use a pointer to resolve the problem

Replies

  • allanallan Posts: 63,535Questions: 1Answers: 10,475 Site admin
    No it doesn't. If you look at the fnSetFilteringDelay code it unbinds the key event on the DataTables controlled global filtering input. It doesn't touch the column filter inputs since these are external to DataTables and DataTables knows nothing about them.

    If you need a filtering delay on your column filter inputs you would need to implement a simple debounce such as fnSEtFilteringDelay does.

    Allan
This discussion has been closed.