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

    (@tobiasbg)

    Hi Charles,

    thanks for your post, and sorry for the trouble.

    The reason for this is that your tables are set to use the features of the DataTables JavaScript library. Unfortunately, those can not be used in tables that have combined columns, as it is the case in your tables.
    In WP-Table Reloaded, you probably had turned off the usage of a JavaScript library entirely, so that this did not happen there. Due to a mistake by me, TablePress does not import this setting from WP-Table Reloaded, so that all tables have DataTables activated again.
    You will therefore need to go to the “Edit” screen of all tables on that page, and uncheck the “Use DataTables” checkbox for each table. I’m really sorry for causing you this extra work!

    After that, all tables will have alternating row colors again, but as the default background color is not very dark, you might want to make it the same color that WP-Table Reloaded uses. For that, just add this to the “Custom CSS” textarea on the “Plugin Options” screen:

    .tablepress .odd td {
      background-color: #F0F0F6;
    }

    Now, about the borders: This is the result of the new TablePress Default table styling, which only adds a thin horizontal border to tables, but no vertical border (as that can disturb readability). If you really want to restore the borders to the WP-Table Reloaded setting, please also add this “Custom CSS”:

    .tablepress tbody td {
      border: solid 1px #A7A0A6;
    }

    Regards,
    Tobias

    Thread Starter charlest1008

    (@charlest1008)

    Thanks Tobias… that fixed it! Just sent you a donation also!

    1. Any plans for a global “Use DataTables” setting?

    2. Is it possible for a user to be given editing rights to a specific table or tables only?

    3. How did you implemented mouse rollover for the icons on the front page of your tablepress.org site.. a plugin?

    Tks again
    Charles

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi Charles,

    great that this helped! And thank you for the donation, I really appreciate it!

    About your other questions:

    1. No, I will not re-add that setting, but there’s a TablePress Extension that will basically change the default value for the “Use DataTables” checkbox to off, which has the same effect in the end. Please see https://tablepress.org/extensions/datatables-off-new-tables/ for more.

    2. TablePress does have a capability/user access management system (the same that is used for regular WordPress posts/pages), but unfortunately, there’s no easy way yet to manage edit rights for individual tables. Currently, this is only possible via custom PHP code. I’m having plans for making this an easier to use plugin feature. I just need to find a nice user interface and implementation…

    3. You mean the color change on the rounded buttons? No, that’s not a plugin, but in my theme, Tatami. From what I know, it’s just some CSS code though, that uses “CSS3 transitions”.

    Regards,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Missing borders and alternate row colors’ is closed to new replies.