• Resolved wpblogwriter

    (@wpblogwriter)


    Hi Tobias,

    I have set the option “Aktiviere das horizontale Scrollen, um das Ansehen großer Tabellen einfacher zu machen.” in the table settings. But somehow, nothing happened. Only adding “responsive=scroll” to the shortcode helped (
    As seen in https://tablepress.org/extensions/responsive-tables/).
    Example: [table id=69 responsive=”scroll” /]

    I am using the latest version 1.14 on the current WP version..

    Would there be an option to set the scrolling for mobile on all existing tables (like a bulk update)? There are about 80 tables built in this website…

    Best regards,
    WBW

Viewing 1 replies (of 1 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    That checkbox will only work if the JavaScript features are active and working. I assume that that’s somehow not the case.

    Regardless, using the Extension is probably better for scrolling here anyways, and makes things a bit easier, in terms of activating it for all TablePress tables on the site. For that, you can add this to the “functions.php” file of your theme:

    add_filter( 'tablepress_table_render_options', 'tp_turn_on_scroll_responsiveness', 10, 2 );
    function tp_turn_on_scroll_responsiveness( $render_options, $table ) {
      $render_options['responsive'] = 'scroll';
      return $render_options;
    }

    Regards,
    Tobias

Viewing 1 replies (of 1 total)
  • The topic ‘Responsiveness’ is closed to new replies.