• Resolved dmpub

    (@dmpub)


    Hi, Tobias

    I have a table with many columns in it.

    On one page of my site, I’d like to be able to display some but not all of the columns. On another page, I’d like to be able to display some different columns (and some the same).

    For example, on Page A, I’d like to show columns 1, 2, 3, 8, 9
    On Page B, I’d like to show columns 1, 3, 4, 5, 6

    Is this possible? I’ve done some searching through your docs and FAQ and here, but can’t find a way to do it, but it seems like something that might be possible to specify in the shortcode parameters.

    As always, many thanks for your excellent product.

    David.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    Yes, that’s possible using extra Shortcode parameters. In your example, you would use

    [table id=123 hide_columns=all show_columns=1,2,3,8,9 /]
    

    and

    [table id=123 hide_columns=all show_columns=1,3,4,5,6 /]
    

    with the correct table ID.

    Regards,
    Tobias

    Thread Starter dmpub

    (@dmpub)

    Thank you, Tobias. 🙂

    Plugin Author TobiasBg

    (@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!

    Thread Starter dmpub

    (@dmpub)

    I’m not sure if I’ve rated TablePress before or not, but I did just now, possibly for the second time. 🙂

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks, I really appreciate it! 🙂

    Best wishes,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Shortcode selection of columns to display’ is closed to new replies.