• Resolved nistaani

    (@nistaani)


    Hi

    I’m inserting a table using the following where scheduleshortcode is the table:

    <div class="schedule"> <?php echo ecpt_display_meta( 'scheduleshortcode' ); ?> </div>

    I’d like to be able to use “responsive=scroll” but I’m unsure how to set this using php or a shortcode within php.

    https://wordpress.org/plugins/tablepress/

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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    That depends on how scheduleshortcode passes through parameters to the table Shortcode. What’s the definition/code of scheduleshortcode?

    Regards,
    Tobias

    Thread Starter nistaani

    (@nistaani)

    Hi Tobias, thanks for the quick reply!

    I read your reply, the documentation again, added the responsive mode to the shortcode and it worked fine. [table id=1 responsive=scroll]
    I was overthinking it 🙂

    When using ‘responsive=scroll’ is it possible to lock the first column and only have the following columns scroll?
    Typically the first column is the rows label so it would be helpful to have this area always useful to the user.

    Thanks
    David

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi David,

    no problem! 🙂 Good to hear that it’s working now!

    The Responsive Tables Extension can not do this, but you could take a look at https://tablepress.org/extensions/datatables-fixedcolumns/ instead.

    Best wishes,
    Tobias

    Thread Starter nistaani

    (@nistaani)

    Tobias, thanks so much!

    Fixed columns is exactly what I’m looking for.

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

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

    Best wishes,
    Tobias

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

The topic ‘Responsive Mode shortcodes’ is closed to new replies.