Datatables filter each column with tagsinput

Datatables filter each column with tagsinput

Al GrantAl Grant Posts: 10Questions: 4Answers: 0

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 :smile:

$("#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.