Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82393

Column Search

$
0
0

Hi, Can anybody tell me how I would go about using a button to instigate column search? I currently search on change, here's my code

// Category Search
$('#category').on( 'change', function () {
    table
        .columns( 5 )
        .search( this.value )
        .draw();
} );

Any help much appreiated!


Viewing all articles
Browse latest Browse all 82393

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>