Using Autocomplete plugin for DataTable Search textbox

Using Autocomplete plugin for DataTable Search textbox

SKRSKR Posts: 13Questions: 0Answers: 0
edited June 2012 in DataTables 1.9
I am working on an application containing datatables. In one of the DataTables, the Search textbox needs to have predictive search functionality i.e. as the user starts typing into it, a dropdown list appears showing suggestions. The list is a source array containing all the previously searched entries. I used the jQuery autocomplete plugin on $('.dataTables_filter input') for this purpose, but it did not work. How can this be implemented in my end script without having to touch jquery.dataTables.js?

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    AutoComplete would probably work, but you need to give it the data for which it can use of course. fnGetData is probably the method you will want for that.

    Allan
This discussion has been closed.