Okay
  Public Ticket #2904151
How to load a segment of a table?
Closed

Comments

  • David Salazar started the conversation

    Hi, i have been using this plugin to show a table with some filters.

    Now I need to show the same table in a different place, but just a portion off it.

    To be clear, the table is a list of different brands and his stores, and what I need is to show a table with only a brand.

    The thing is i dont want to create a different table for each brand because it will be harder to administrate.

    Is there any way to do it?

    Thanks

  • [deleted] replied

    Hi David

    Thank you for reaching out to us.

    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.