Okay
  Public Ticket #2912964
Search form
Closed

Comments

  • Erika Laguna started the conversation

    Is there a search functionality for wpDataTables for Wordpress? Also, a way to add this search form in the header of the website? shortcode or php. 

    Also, can I create a table with filters already applied to it?

  • [deleted] replied

    Hi Erika

    Thank you for reaching out to us.

    We do have a main search block for each table you can enable/disable from the filtering tab, but there is no way to reposition it currently with the table's builtin features I'm afraid.

    With SQL you can create tables displaying only the information you choose to pull from your database or you can add a filter through the shortcode if you assign one of our placeholders to column settings/filters/predefined filtering value.

    8052151734.png

    If you add %VAR1% as a predefined filtering value to ColumnA, for example, it will load all the data (because the placeholder is not defined in the Placeholders tab above the table). Then, when you add the shortcode like:

    [wpdatatable id=1 var1=150] it will filter the table per columnA with the value of "150".

    I hope this helps, do let us know if you need any further assistance.


  • Erika Laguna replied

    Thanks! I bought the plugin already, and I am very happy with it.

  • [deleted] replied

    You are most welcome, thank you for your purchasesmile.png

    If there is anything else we can assist you with please don't hesitate to open a new ticket.

    Have a wonderful day!