No problem with more than one table.
Verify that the ID tables and identifiers in the function call are identical.
HTML
<table id="example" cellpadding="0" cellspacing="0" border="0" class="display" style="width:980px"> ... </table> <table id="example1" cellpadding="0" cellspacing="0" border="0" class="display" style="width:980px"> ... </table>
Jquery
$(document).ready(function(){ $('#example').dataTable() .columnFilter({ aoColumns: [ {type: "text"}, { type: "text" }, { type: "text" }, { type: "number" }, {type: "text"}, {type: "text"}, {type: "text"}, {type: "text"}, {type: "text"}, {type: "text"}, { type: "select", values: [ 'A', 'C', 'U', 'X'] } ] }); $('#example1').dataTable() .columnFilter({ aoColumns: [ {type: "text"}, { type: "text" }, { type: "text" }, { type: "number" }, {type: "text"}, {type: "text"}, {type: "text"}, {type: "text"}, {type: "text"}, {type: "text"}, { type: "select", values: [ 'A', 'C', 'U', 'X'] } ] }); });
source share