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

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    Yes, that should be possible.
    First, turn on the collapse mode via the Shortcode parameter (after installing and activating the TablePress Responsive Tables Extension from https://tablepress.org/extensions/responsive-tables/
    Then, you’d have to add this to the “Custom Commands” text field of the table’s “Edit” screen:

    "responsive": { "details": { "type": "column", "target": -1 } }, "columnDefs": [ { "className": "control", "orderable": false, "targets": [ -1 ] } ]
    

    (Note that you might also have to add a new column to the end of the table first, I haven’t checked that.)

    Regards,
    Tobias

    Thread Starter fiskebyxa

    (@fiskebyxa)

    Hello Tobias,

    I managed to get it working with your custom command code.
    Thank you so much for your support!

    Cheers

    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!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Responsive collapse mode with right aligned toggle button’ is closed to new replies.