• Resolved Sens4

    (@sens4)


    Many tables are based on the 2 parameters. The first row of the table can be set to use as the names for the column, but I couldn’t find any way to set the names for the rows. Is it possible to make the separate names for each row as with the columns? Thank you

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    I’m not sure that I understand, but it sounds like you want this:
    You could add a Shortcode parameter like

    [table id=123 first_column_th=true /]
    

    to turn the cells of the first column into “header cells”, at least semantically. You would still need to change their background color with CSS code.

    Regards,
    Tobias

    Thread Starter Sens4

    (@sens4)

    Thank you very much for such fast response. Here I’ve added few photos to explain. On the 1st photo I could easily find the option to name the columns.

    https://prnt.sc/fiwg4g

    But I could not find the option the option to name the rows (hightlight the first column) (blue oval on the 2nd photo).

    https://prnt.sc/fiwgfs

    Your plugin is so great, so I think you need to make it greater!

    • This reply was modified 7 years, 9 months ago by Sens4.
    • This reply was modified 7 years, 9 months ago by Sens4.
    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for the screenshots! So, my initial interpretation was correct ??

    So, just use the Shortcode

    [table id=1 first_column_th=true /]
    

    to display the table and add this to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress:

    .tablepress-id-1 .column-1 {
      background-color: #d9edf7 !important;
    }

    Regards,
    Tobias

    Thread Starter Sens4

    (@sens4)

    Thank you so much. I think you need to add a feature to create matrix tables like this and another feature to cross the cells where the row’s name and the columns’s name match (like those tables in chess tournaments) into the option of the program, in the future ??

    You are brilliant!

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    I see what you mean, and this sounds interesting, indeed. I’ll have to think about it! ??

    Best wishes,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to name the rows?’ is closed to new replies.