Column search in datatables not working
Column search in datatables not working

Hi,
The column search in the datatable does not seem to work if i add scrollY. Is there any way to add both the search columns and the scroll?
Thanks.
This discussion has been closed.
Replies
We should be able to make it work for you. Can you create a test case of what you have so we can help? The answer will be different depending on whether you have header or column searches and if you are using select inputs or text inputs.
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin
Hi @kthorngren, I'm using footer column search.
Test case link - http://live.datatables.net/peladape/3/edit
When using
scrollY
you need to provide a string that is the height you want the table to be not a boolean. However to answer your question the Datatables scrolling options clone the header and display the cloned header instead of the original. You need to create the header inputs before initializing Datatables. Here is your updated example:http://live.datatables.net/riyexepe/1/edit
Kevin
Thanks @kthorngren