DataTables Button Filtering

To use this in your tables, download, install, and activate this Extension like a regular WordPress plugin. Then change your table’s Shortcode from something like

[table id=123 /]

to

[table id=123 datatables_button_filter=true /]

After that, you can add HTML code like

<button class="table-123-filter" data-filterterm="searchterm">Button text</button>

anywhere on the page, to create a button that will run the filter when clicked. You will need to adjust the table ID (123 in the example) and the value for the data-filterterm attribute.

If this Extension is helpful for you, please consider supporting further TablePress development with a donation. Thank you!

Top