Title: collapse rows
Last modified: April 2, 2020

---

# collapse rows

 *  Resolved [nicostanculescu](https://wordpress.org/support/users/nicostanculescu/)
 * (@nicostanculescu)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/collapse-rows/)
 * Hi Tobias,
 * thank you for a fantastic plugin!
 * quick question, please. am trying to collapse a group of rows – at the link above,
   the seven rows before the last one.
 * is there a way to do that?
 * appreciate your guidance.
 * gratefully –
 * nico
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcollapse-rows%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/collapse-rows/#post-12615824)
 * Hi,
 * thanks for your question, and sorry for the trouble.
 * I’m not sure that I understand. What do you mean with “collapse” here?
 * Regards,
    Tobias
 *  Thread Starter [nicostanculescu](https://wordpress.org/support/users/nicostanculescu/)
 * (@nicostanculescu)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/collapse-rows/#post-12616479)
 * Hi Tobias,
 * Thank you and apologies! Shows I am a newbie. I meant, being able to use an “
   accordion” in row x through which, if clicked, it would expand to reveal an additional
   y number of rows which are immediately under. Almost like in the “collapse” function
   but it will not be for columms which do not fit on the screen but for rows which
   i would like to “contract” and “expand”.
 * Does this clarify my earlier question to you?
 * Million thanks!
 * Nico
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/collapse-rows/#post-12616499)
 * Hi Nico,
 * thanks! Now I understand! Unfortunately though, I’m not aware of an existing 
   solution for this, sorry 🙁
 * Your best chance might be to use some custom JavaScript/jQuery code, where you
   e.g. add a button in one cell and show/hide rows when that is clicked.
    This 
   could be similar to the JS code from [https://tobias.baethge.com/2009/07/expandhide-accordion-feature-explained/](https://tobias.baethge.com/2009/07/expandhide-accordion-feature-explained/)
   but you would need to use other CSS selectors (like `.row-4`) for the table rows.
 * Regards,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘collapse rows’ is closed to new replies.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

## Tags

 * [collapse](https://wordpress.org/support/topic-tag/collapse/)
 * [rows](https://wordpress.org/support/topic-tag/rows/)

 * 3 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/collapse-rows/#post-12616499)
 * Status: resolved