custom search form
-
Hi,
I am trying to create a simple search form that searches within a specific column. My approach below is not doing anything – the table never redraws. Any ideas? I can confirm that a search value is being passed in via console.log
thanks
var table = $('#tablepress-1').DataTable(); $('#search-form input').on( 'keyup', function () { console.log(this.value); table .columns( 1 ) .search( this.value ) .draw(); } );
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘custom search form’ is closed to new replies.