• Resolved m-one

    (@m-one)


    I like the approach to responsive tables but I am having problems with any table I throw at it.

    I have set up a page to demo this:

    http://urlgone.com/5382ab/

    This table has 10 columns but in responsive mode ([table id=1 responsive=”desktop” /]) when columns are switched to rows the data is only present for the first 8. This is happening regardless of the number of columns in a table and at different numbers of rows.

    Can you help? Many thanks.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • how did you set the column widths? They have to be a percentage for responsive (or rather “fluid” is what I think you really mean in this case) table on fluid site.

    i.e. column-width= 10% 10% 10% 10% …etc X10 for 10 columns

    or column-width = 16.67% 33.33% 16.67% 33.33%;

    Stick it right in the shortcode:
    [table id=weekdaystbl alternating_row_colors=true column_widths=”16.67%|33.33%|16.67%|33.33%” row_hover=true /]

    Thread Starter m-one

    (@m-one)

    Thanks for the input but problem persists. Had not set any column widths – now using:

    [table id=1 alternating_row_colors=true row_hover=true column_widths=”10%|10%|10%|10%|10%|10%|10%|10%|10%|10%” responsive=”tablet” /]

    Result: Same problem as before.

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    That’s the expected behavior. As mentioned on the web page of the Extension, the table will be flipped to the side, and it is then scrollable horizontally.

    However, to make things look better, you will need to adjust the padding. For that, please remove the changes regarding column widths that you have made and add this to the “Custom CSS” instead:

    .tablepress th,
    .tablepress td {
      padding: 8px !important;
    }

    Regards,
    Tobias

    Thread Starter m-one

    (@m-one)

    …and it’s fixed. Many thanks – great support.

    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 5 replies - 1 through 5 (of 5 total)

The topic ‘Tablepress responsive extension issue’ is closed to new replies.