• Resolved simmerman

    (@simmerman)


    Hello. Great product!

    I have one table I’m placing on several pages and using the filter plugin (same table, though). On one specific page where I am hiding all kinds of columns and displaying essentially just one column of data from the table, I want to hide the search box for just that page/embed. Meaning, I don’t want to disable the search on the table itself, just a certain page where I’m using the filtering code to load part of the table.

    Any help would be great!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    You could do that by hiding the search box via a Shortcode parameter on that page:
    [table id=123 filter="..." datatables_filter=false /]

    If you want to turn off all DataTables JS features on that page (search and sorting, etc.), you could use
    [table id=123 filter="..." use_datatables=false /]

    Regards,
    Tobias

    Thread Starter simmerman

    (@simmerman)

    Perfect! Thanks!

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! 🙂 Good to hear that this helped!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Hide Search box on certain pages’ is closed to new replies.