• Resolved ozmatflc

    (@ozmatflc)


    Is it possible to configure the first column in a table to be a header column? For example when creating a matrix-style table with headings along the top and down the left side, for cross-reference in the cells?

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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Yes, you could achieve that by adding another parameter to the Shortcode:

    [table id=123 first_column_th=true /]
    

    After that you can add desired styling with “Custom CSS” like

    .tablepress-id-123 tbody th {
      font-weight: bold;
      background-color: #d9edf7;
    }

    Note however that features like sorting (which add sorting arrow icons to the top row of the table) can not be shown/used in the first column. It’s a purely visual first header column.

    Regards,
    Tobias

Viewing 1 replies (of 1 total)
  • The topic ‘Make the first column a header’ is closed to new replies.