DataTables Automatic Filtering

Sometimes it can be useful to initialize the “Search:” field above a table with a filter word. The advantage of this method over the Row Filtering Extension is, that the user can change the filter word, to e.g. show all entries in the table.

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_auto_filter="word" /]

Here, word would be the initial filter that is set once the table is viewed.

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

Top