Adding a column filter under the column title
Adding a column filter under the column title
Hi
As the title says I am trying to add a column filter (a text box to search for values in a particular column). I am trying to add it in the header, under the column title. However, no matter what I try, the ordering control gets placed in the same cell that I place the filter input. This makes it so that clicking in the input box (so that you can write in it), fires an order event. This is a live example:
http://live.datatables.net/fojizini/1/edit
I think I could fix this if I could force the order control to render in the first row of the thead, where the column titles are placed. However, I can't locate that functionality.
Any help would be appreciated.
Answers
Here is a working version of your code
http://live.datatables.net/taceyigu/1
(added my yadcf to it) :)
Thanks, but I'm not sure that I want to add more external plugins to this project