DataTables Field Filters

This feature requires DataTables 3.0 and GravityView 2.15 or newer.

DataTables 3.0 introduced Field Filters. This functionality adds individual search fields to the table header or footer (or both at the same time) for each column on your View:

Data table with filters for Business Name, Industry, City, State, and a list of entries with view details links

This powerful functionality allows you to perform data drilling (also known as drill down) searches by filtering multiple columns at the same time:

DataTable filtering by industry, updating displayed entries dynamically as selections change

To enable this functionality, go to the DataTables tab inside the View Settings metabox and check the Enable Field Filters option. It's also possible to choose the location in the table where Field Filters will be displayed.

DataTables settings: Enable Field Filters for search fields, select input location as Footer, Header, or Both

Choosing what columns are filtered

In DataTables 3.3, we added a "Fields with Filter" option that allows you enable field filters on a per-column basis. Choose which fields have the filtering ability.

A multi-select field for choosing which fields should include a filter

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us