Inverted Filtering

Turn the filtering into a search and hide the table if no search term is entered.

By default, the “Search” feature in TablePress tables is actually a “filtering” feature: Initially, all tables are shown, and when typing something into the “Search” field, rows that do not have that search term in them will be filtered out and hidden.

Feature description

The “Inverted Filtering” feature module can, as the name says, invert this behavior and offers an actual “Search”: Initially, no table rows will be shown, and after typing a value into the “Search” field, only rows that have that search term will be shown. In addition, control elements like the Pagination Controls and related will be hidden until there are visible table rows.

Here is an example:

Type something into the search field, e.g. the search term “Julia” to see how the search results only appear after entering that search term.

NameYearCountrySportTimeRateFee
Eric1986SwedenSoccer05:2540.4%$7.14

Usage instructions

To use this feature with your tables, activate the “Inverted Filtering” feature module on the “Modules” screen of TablePress Max. Then, configure the desired options in the “Inverted Filtering” section on the table’s “Edit” screen.

Please note that features like Alphabet Search, Column Filter Dropdowns, Custom Search Builder, Fuzzy Search, Individual Column Filtering, and Search Panes are not compatible with Inverted Filtering.

Configuration parameters

To configure this module’s features, you can also use these configuration parameters in the “TablePress Table” block or in the Shortcode that you are using to embed the table:

ModuleSlugConfiguration parameterNameDescriptionTypeDefault value
Inverted Filteringdatatables-inverted-filterdatatables_inverted_filterboolean (true or false)false