initialse multiple datatables with columnfilter plugin leads to overwrite

initialse multiple datatables with columnfilter plugin leads to overwrite

heinz0001heinz0001 Posts: 1Questions: 0Answers: 0
edited September 2012 in General
Hello forum,

First of all datatables is just brilliant, saved me a lot of work.
Now I'm facing the following problem since days and all my googling won't lead me to a solution:

I initialze multiple datatables:

[code]
$(document).ready(function() {

$('#table1').dataTable();
$("#table1").dataTable().columnFilter();
$('#table2').dataTable();
$("#table2").dataTable().columnFilter();

} );
[/code]

Using this the column filter is only applied to the second table (#table2). Do I have to initialize the tables differently or what am I doing wrong?

Thanks!
This discussion has been closed.