Datatables filter each column with tagsinput
Datatables filter each column with tagsinput
Hello,
I found this fiddle on the forums and I want to change it so that it sends the filter term to the backend after you hit enter, ie on the
#('input').on('itemAdded', function(event) {
It looks like filter is currently sent on ![]()
$("#example thead input").on('keyup change', function() {
Is it a case of literally:
$('input').on('itemAdded', function(event) {
table
.column($(this).parent().index() + ':visible')
.search(this.value)
.draw();
});
Fiddle is here : https://jsfiddle.net/DTcHh/38867/
Thanks
Al
This discussion has been closed.