• Resolved martinvarhulik

    (@martinvarhulik)


    Hi, I need help with the correct display of the table, the table header is misaligned (different cell width) than the table contents. Any idea why this is so? Thank you for your help.

    The page I need help with: [log in to see the link]

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

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    It looks like you are using the TablePress Responsive Tables Extension and the “Horizontal Scrolling” at the same time. That will not work. Please uncheck the “Horizontal Scrolling” checkbox on the table’s “Edit” screen.

    Regards,
    Tobias

    Thread Starter martinvarhulik

    (@martinvarhulik)

    Thanks for the quick reply, it was even easier than I thought. 😉
    I have one more question, is it possible to choose which cells will be visible immediately on the page and which when clicking on the + button when layout responsive = “collapse”?
    Great job on the plugin.

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    good to hear that this helped!

    Unfortunately, choosing which columns are visible is more tricky. For some ideas, please see https://wordpress.org/support/topic/defining-columns-to-collapse-1?replies=12 or https://wordpress.org/support/topic/collapse-extension-breaking-point?replies=6

    Regards,
    Tobias

    Thread Starter martinvarhulik

    (@martinvarhulik)

    I’m still unable to adjust the display :-(. I want make a table with only one visible column in responsive = “collapse” mode and the others will appear after clicking on the “+” icon. Still failing. Don’t you have an idea?. Other topics I saw. Thank you for any help. I am not an experienced user.

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    For that, please add this to the “Custom Commands” text field on the table’s “Edit” screen:

    "columnDefs": [ { "className": "none", "targets": [ 1, 2, 3, 4, 5, 6 ] } ]
    

    Regards,
    Tobias

    Thread Starter martinvarhulik

    (@martinvarhulik)

    I don’t see any effect. The numbers 1, 2, 3, … correspond to the number of columns?
    https://www.hradecjede.cz/zasobnik-projektu/

    Thread Starter martinvarhulik

    (@martinvarhulik)

    Great, i already understood the system. Now working. Great, thanks a lot for the help.

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

The topic ‘The table header is misaligned’ is closed to new replies.