Column search second header
Column search second header
I'm playing around with column searching in the thead. I've placed the search boxes in the second header row and sorting in the first row. I'm not proficient with selectors and have not figured out what to use to create the event handlers. I have my example here:
http://live.datatables.net/giharaka/1/edit
Right now it has table.column().header() which isn't working because I set the sorting to the top orderCellsTop: true
and its pointing to that thead row. If anyone has any ideas of what to change please let me know.
Kevin
This question has accepted answers - jump to:
Answers
This is what I came up with:
you method was actually adding a single event handler in each iteration of the each causing the event handlers to fire on every column even when only one column changed.
Thanks @bindrid. Nice and simple answer. I was making it too complicated.
Kevin