Individual Column Filtering

Add a search field for each column to the table head or foot row.

Tables have a general search field for all table columns by default, above the table. Depending on the table data, it can be more suitable to show a search field that allows each column to be filtered separately.

Feature description

This gives the visitor even more flexibility when interacting with the table. Here are two examples:

Text Inputs in the Header Row

A new second header row is inserted, with a text field for searching each column individually.

Last NameFirst NameCompanyZIP code
BanksTravisApple64655
CainLawrenceIBM98004
MiddletonDennisGoogle80913
ValenzuelaLuneaCisco51606
BurgessQuynnMozilla78965

Dropdowns in the Footer Row

The values in the cells in the last row are then used as the default text in the generated search input fields. Usually they should have the same content as the table head row cells.

Last NameFirst NameCompanyZIP code
BanksTravisApple64655
CainLawrenceIBM98004
MiddletonDennisGoogle80913
ValenzuelaLuneaCisco51606
BurgessQuynnMozilla78965

Usage instructions

To use these features with your tables, activate the “Individual Column Filtering” feature module on the “Modules” screen of TablePress Pro or TablePress Max. Then, configure the desired options in the “Individual Column Filtering” section on the table’s “Edit” screen.

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
Individual Column Filteringdatatables-column-filterdatatables_column_filterstring"" (empty string)
Individual Column Filteringdatatables-column-filterdatatables_column_filter_positionenum (table_head or table_foot)table_head
Individual Column Filteringdatatables-column-filterdatatables_column_filter_columnsstring"" (empty string)