fnFilter getting the correct index
fnFilter getting the correct index
I am trying to follow the example as in http://datatables.net/release-datatables/examples/api/multi_filter.html and everything works.
To get the column index I use
$("tfoot input").keyup( function () {
/* Filter on the column (the index) of this element */
oTable.fnFilter( this.value, $("tfoot input").index(this) );
} );
When I use the show/hide column filter (ColVis )the function that gets the column index doesn't work correctly.
Is there a workaround?
Thanks
To get the column index I use
$("tfoot input").keyup( function () {
/* Filter on the column (the index) of this element */
oTable.fnFilter( this.value, $("tfoot input").index(this) );
} );
When I use the show/hide column filter (ColVis )the function that gets the column index doesn't work correctly.
Is there a workaround?
Thanks
This discussion has been closed.
Replies
Allan