• Resolved andynz

    (@andynz)


    Hi Tobias
    I have just discovered the Row Details extension which allows me to use TablePress to display something similar to an accordion (the Accordion plug-in which I have used may be retiring soon). Works fine, but just two questions:
    1. I realise that the table must have a header row, but is there any way in which I can hide this row on the website?
    2. Is there any way in which one display can be closed automatically when another one is opened?
    Andy
    NZ

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

    (@tobiasbg)

    Hi Andy,

    thanks for your question, and sorry for the trouble.

    1. Yes, that’s possible! Just add this to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress:

    .tablepress-id-123 thead {
      display: none;
    }

    where 123 is the table ID.

    2. I can’t think of a solution from the top of my head, but it should be possible with a code change. If you really need this feature, I’ll try to find some code for it.

    Regards,
    Tobias

    Thread Starter andynz

    (@andynz)

    Thanks Tobias, thead worked fine. Removing the heading meant that the width of the table defaulted to the minimum so I added CSS to set the table width to 100%.

    If you come up with a solution to (2), I would be interested – but that would just be an added bonus. Perhaps, it is better to leave it as it is for consistency with responsive=collapse, which I also use extensively.
    Andy

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    good to hear that 1) worked.

    2) is a bit more tricky than I first thought. I’ll try to find a solution for a future version!

    Best wishes,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Header with Rows Details extension’ is closed to new replies.