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 the DataTables settings, there is a "Fields with Filter" option that allows you choose which fields have filters and which don't, on a per-column basis.

Select which fields you want to have filters, then save the View.

💡 To select multiple fields:

  • Mac: Hold the Command key and click each field you want
  • Windows/Linux: Hold the Control key and click each field you want
  • To select a range: Click the first field, then hold Shift and click the last field

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