• Resolved xmetman

    (@xmetman)


    Hi

    I would like to change the background color of the selected row, how do I do that?

    I would like to use a two row header. The top row would have three cells “Temperature” all merged into a single cell, and the bottom row I would like to show three normal cells “Max”, “Min” and “Mean”, is that possible?

    Bruce.

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

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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    For this, you can merge the cells in the top row via the “colspan” button below the table input fields.
    Note that this will mean that you can no longer use the features of the DataTables JS library (like sorting and searching) in this table, as that library does not support tables with merged cells.

    To give the second row a different background color, you can use the CSS from https://tablepress.org/faq/change-background-color-of-a-row/

    Regards,
    Tobias

Viewing 1 replies (of 1 total)
  • The topic ‘Selection color and 2 row header’ is closed to new replies.