

Get in touch

Download Plugin Now
  • Follow
  • Follow
WP Data Access
  • Download
  • Support
  • Features
  • Pricing
  • Documentation
    • Tool Guide
    • App Builder
    • Data Explorer
    • SQL Query Builder
    • Plugin Settings
    • Legacy Tools
    • Remote Connections
a
M
M
  • Download
  • Support
  • Features
  • Pricing
  • Documentation
    • Tool Guide
    • App Builder
    • Data Explorer
    • SQL Query Builder
    • Plugin Settings
    • Legacy Tools
    • Remote Connections
Download Plugin Now

Legacy Tools

  • Deprecating in the near future

Tables

  • Getting Started
  • Creating and publishing
  • Responsive data tables
  • SEO friendly data tables
  • Adding hyperlinks
  • Extension Manager
  • Style Manager
  • Language settings
  • Styling
    • Style Manager
    • Premium styling
    • Global styling
    • Code Manager Styling
    • Manual styling
    • Styling issues
  • Filters
    • Static filters
    • Interactive filters
      • URL parameters
      • Search Panes
      • Search Builder
      • Search form
      • Advanced search
      • Geolocation search
  • Export & other buttons
    • Export to PDF, CSV, Excel, SQL
    • Print & copy buttons
    • Column selection buttons
    • Custom buttons
  • Advanced features
    • Advanced settings
    • Large tables & performance
    • Progressively SHOW MORE
    • Custom queries
    • Custom Post Types
    • Row grouping
    • Responsive master-detail
    • Master-detail tables
    • Non admin user access
  • Demos & tutorials
    • Demos
    • Tutorials

Forms

  • Data Projects
  • Projects and templates
  • Supported Data Types
  • One-To-Many relationships
  • Many-To-Many relationships
  • Registration page
  • Manage table options
  • Shortcode usage
  • Data Forms
    • Data Forms
    • Overview
    • Project Demo
    • Page Demo
  • Advanced features
    • Adding filters
    • Custom validation
    • Add less/more button
    • User roles
    • Managing roles and users
    • Advanced table options
    • Advanced lookups
    • Front-end toolbar
    • Transfer to other WP site
  • Demos & tutorials
    • Demos
    • Tutorials

Templates

  • Project Templates
  • Creating templates
  • Table Settings
  • Relationships
  • List Table
  • Data Entry
  • Reconcile

Designer

  • Getting started
  • Introduction
  • Basic mode

Dashboards

  • Getting started
  • Dashboards
  • Sharing dashboards
  • Dashboards Widgets
    • Dashboard Widgets
    • Publication Widget
    • Project Widget
    • Chart Widget
    • Custom Code Widget
    • Database Widget
    • Sharing Widgets

Charts

  • Chart Widget

Code

  • Shortcodes
    • Overview
    • wpdataaccess
    • wpdadataproject
    • wpdadataforms
    • wpdadiehard
    • wpdageomap
    • wpdawidget
  • Plugin Variables
    • Environment variables
  • Hooks & filters
    • Overview
    • Hooks
      • Overview
      • wpda_add_search_actions
      • wpda_add_search_filter
      • wpda_before_list_table
      • wpda_after_list_table
      • wpda_wpdataaccess_prepare
    • Filters
      • Overview
      • wpda_column_default
      • wpda_before_simple_form
      • wpda_after_simple_form
      • wpda_construct_where_clause
  • API
    • WP Data Access API
    • Remote database access
    • CRUD Example
    • Extensions
      • Alternative search algorithm
      • Alternative buttons extension
  • Code Manager
    • Overview
    • Write code
    • Share(d) code
View Categories

Advanced search

Individual column search #

The premium version of the plugin supports a number of advanced search options. To search individual columns of a data table, this feature needs be enabled.

  • Enable individual column search

Inline demo individual column search #

This feature adds searchboxes to the table footer.

IDLastnameFirstnameGenderDate Of BirthAddressZipcodeCityCountyCountryEmailPhone NoRegistration Date
IDLastnameFirstnameGenderDate Of BirthAddressZipcodeCityCountyCountryEmailPhone NoRegistration Date

Use option wpda_searchbox in the table options advanced column to add searchboxes to the header, footer or both:

{ "wpda_searchbox": "header" }
{ "wpda_searchbox": "footer" }
{ "wpda_searchbox": "both" }

Setting option wpda_searchbox to none disables individual column search for a specific data table. Thanks for the tip Charles!

{ "wpda_searchbox": "none" }
  • The content of column table options advanced must be valid json! 

Search and list box placeholder prefixes #

Placeholders prefixed with Search are added to individual column search and list boxes by default. This prefix can be changed (or removed) using option wpda_search_placeholder_prefix.

Examples #

Add Italian translation

{ "wpda_search_placeholder_prefix": "Ricerca" }

Remove prefix

{ "wpda_search_placeholder_prefix": "" }

Remove prefix and add search icon

{ "wpda_search_placeholder_prefix": "icon" }

Removing placeholders #

It is also possible to completely remove the placeholders with option wpda_search_placeholder.

Examples #

{ "wpda_search_placeholder": "true" }
{ "wpda_search_placeholder": "false" }
{ "wpda_search_placeholder": "icon" }

Combining options #

You can also combine wpda_search_placeholder_prefix and wpda_search_placeholder.

{
	"wpda_search_placeholder_prefix": "icon",
	"wpda_search_placeholder": "false"
}

Styling searchboxes #

All searchboxes and listboxes contain CSS class wpda_search_textbox, which can be used for styling. Additionally, the column name is added as a CSS class as well, for individual searchbox styling.

Share This Article :
  • Facebook
  • X
  • LinkedIn
  • Pinterest
Still stuck? How can we help?

How can we help?

Updated on 2025-02-09
Search formGeolocation search

6 Comments

  1. Mmeli
    Mmeli on 2021-06-03 at 11:02 am

    Hi
    is it possible for Data Tables to publish data on search, instead of publishing 10 database entries at the same time.

    thank you

    Reply
    • Peter Schulz
      Peter Schulz on 2021-06-03 at 1:09 pm

      Hi Mmeli,

      Yes, that is possible with the premium. Please see this page:
      https://wpdataaccess.com/docs/data-explorer-settings/search-settings/
      Section: Search engine like search

      Hope this helps,
      Peter

      Reply
  2. Burt
    Burt on 2021-06-13 at 2:04 pm

    Hi Peter,

    I’m really enjoying your program, it’s excellent! Is there a way to either not show the number of entries or max it out at a certain number like “10”. I was able to set the default but don’t want users to have the option to select 100 rows.

    Thank you very much,
    Burt

    Reply
  3. Peter Schulz
    Peter Schulz on 2021-06-14 at 7:25 am

    Hi Burt,

    You can hide the length changing input control with the dom option. The default dom value is "lfrtip" where l represents the length changing input control. Please enter the following JSON in your advanced table options to remove the control from your publication:
    { "dom": "frtip" }

    More information about the dom option can be found here:
    https://datatables.net/reference/option/dom

    You can also change the list values and default using the advanced table options. Please have a look at options pageLength and lengthMenu:
    https://datatables.net/reference/option/pageLength
    https://datatables.net/reference/option/lengthMenu

    Example: add the following JSON to your advanced table options to show 10, 20 and 30 in the list and set the default to 20.
    { "pageLength": 20, "lengthMenu": [10,20,30] }

    Hope this helps,
    Peter

    Reply
  4. Andrea
    Andrea on 2021-11-15 at 5:49 pm

    Is it possible to do an exact match search through the search field instead of a “contains” search?

    Reply
    • Peter Schulz
      Peter Schulz on 2021-11-15 at 6:17 pm

      Hi Andrea,

      For exact search you need to change the search strategy for your table. This is explained here:
      https://wpdataaccess.com/docs/data-explorer-settings/search-settings/

      This feature requires a premium license.

      Hope this helps,
      Peter

      Reply

Submit a Comment Cancel reply

Your email address will not be published. Required fields are marked *

Table of Contents
  • Individual column search
  • Inline demo individual column search
  • Search and list box placeholder prefixes
    • Examples
  • Removing placeholders
    • Examples
  • Combining options
  • Styling searchboxes
WP Data Access
  • Follow
  • Follow
Quick Links
$

Blogs

$

Tutorials

$

Demos

Get in touch
$

Premium support

$

Free support forum

$

Contact us

Resources


WordPress plugin directory



YouTube tutorials

Copyright © 2025 | All Right Reserves

We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok