DataTables Field Filters
Field Filters add a filter box to each column of a DataTables View. Visitors can fill in several of them at once, such as one class and one payment method, and the table shows only the entries that match every filter.

Field Filters or Live Filters #
Live Filters also filters a DataTables View, from a sidebar next to the table. Pick the one that fits how visitors search:
- Use Field Filters when visitors type part of a name or other text, or pick a date, in a specific column. Live Filters doesn’t offer text or date fields.
- Use Live Filters when visitors choose from a field’s choices or a number range. Each choice shows how many entries it leaves, and visitors can tick several choices in one filter. The page address keeps the choices, so a filtered table can be bookmarked or shared.
A View can have both. Their choices combine, and the counts in the sidebar follow the Field Filters too.
Turning on Field Filters #
- Edit your View.
- In the Settings box, click the DataTables tab.
- Turn on Enable Field Filters.
- Under Input Location, choose where the filters go: Footer (the default), Header, or Both.
- In Fields With Filter, select the columns that get a filter. Hold Ctrl (Cmd on a Mac) to select more than one. With none selected, every column gets a filter, except a column that can’t be searched, such as a Result Number column.
- Click Update.

The filters on the page #
Each filter fits its column’s field:
- A text field gets a search box that reads “Filter by” and the column name. It finds the entries whose value contains what the visitor types.
- A Number field gets a number box.
- A Drop Down or Radio Buttons field gets a list of its choices, and visitors pick one.
- A Date field gets a date picker, and so do the entry’s Date Created and Date Updated.
Clearing the filters #
While any filter holds a value, a Clear Filters button appears below the table. It empties every filter at once and shows all the entries again, including the filter of a column the visitor hid with the Columns button.
The button is on by default. To remove it, turn off Show “Clear Filters” button on the DataTables tab.
Filtering by a range of dates #
Date Filter Type sets how a date filter works. It shows on the DataTables tab when the processing mode is Preloaded (Client-side):
- Single Date Input matches one day.
- Date Range shows a start date and an end date.
With Ajax (Server-side), the default, the setting is hidden and a date filter matches one day.