Individual column searching (text inputs) is not working in my rails code. My mappings.js file :
$(document).ready(function(){ $(\
Try this
//Apply the search table.columns().eq( 0 ).each( function ( colIdx ) { $( 'input', table.column( colIdx ).footer() ).on( 'keyup change', function () { table .column( colIdx ) .search( this.value ) .draw(); } ); } );
working Demo