initialse multiple datatables with columnfilter plugin leads to overwrite
initialse multiple datatables with columnfilter plugin leads to overwrite
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!
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.