Title: TablePress like a dropdown menu
Last modified: August 30, 2016

---

# TablePress like a dropdown menu

 *  Resolved [Valarion](https://wordpress.org/support/users/valarion/)
 * (@valarion)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/tablepress-like-a-dropdown-menu/)
 * Hello,
    Ladies and Gentlemen, I’ve searched, really, and I don’t find any solution
   so you now see me with my question and I hope you will be able to help me. So,
   I would like to use Tablepress to show all people in my company sorted by business
   unit (I’ve searched also a lot and it’s the best way I’ve found for that). At
   the moment, I have my table with about 80 rows and 2 columns (2 peoples on each
   row) shown this way (- is to show that I change of column) :
 * Business Unit 1
    People 1 – People 2 People 3 – People 4
 * Business Unit 2
    People 1 – People 2 People 3 – People 4
 * I’m trying to set TablePress in such a way that when my visitor arrive in the
   page where the table is, he only see, at the beginning :
    Business Unit 1 Business
   Unit 2
 * But, when he clicks on Business Unit 1, peoples are shown :
 * Business Unit 1
    People 1 – People 2 People 3 – People 4
 * Business Unit 2
 * He clicks again on Business Unit 1 and we go back to :
 * Business Unit 1
    Business Unit 2
 * My questions are :
    Is it possible ? How to do that ?
 * If you could explain me as if I was really stupid, it would be really great.
 * Thanks a lot for your time.
 * [https://wordpress.org/plugins/tablepress/](https://wordpress.org/plugins/tablepress/)

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/tablepress-like-a-dropdown-menu/#post-6307828)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * For this, something like the TablePress Row Details Extension that is described
   at [https://wordpress.org/support/topic/how-to-expand-tablepress-row?replies=24#post-4187213](https://wordpress.org/support/topic/how-to-expand-tablepress-row?replies=24#post-4187213)
   might be worth checking out.
 * Regards,
    Tobias
 *  Thread Starter [Valarion](https://wordpress.org/support/users/valarion/)
 * (@valarion)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/tablepress-like-a-dropdown-menu/#post-6307831)
 * Hello Tobias,
    Thanks a lot for your reply but I don’t really understand how 
   to use it 🙁 (shame on me)
 * As an example, I have at the moment my business units in rows 1, 3 and 5, peoples
   in rows 2, 4, 6 and 7.
 * I’ve seen the modified short code [table id=1 datatables_row_details=true datatables_row_details_columns
   =”A” /] but I don’t know how to set row 1 to command row 2, row 3 to command 
   row 4 and row 5 to command rows 6 and 7…
 * I’m really sorry :'(
 * Thanks again
 * Emmanuel
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/tablepress-like-a-dropdown-menu/#post-6307834)
 * Hi,
 * you will basically have to change your table’s structure for this. I suggest 
   to start with a test table (like the demo table on the TablePress website) and
   play with that, to see how this works.
 * Regards,
    Tobias
 *  Thread Starter [Valarion](https://wordpress.org/support/users/valarion/)
 * (@valarion)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/tablepress-like-a-dropdown-menu/#post-6307879)
 * Tobias,
 * Thanks a lot for your help.
    I’ve found a solution in a different way. So, if
   someone else wants to do the same, here’s requirements : Wordpress (of course)
   TablePress Collapse-O-Matic I will have to do one table for each business unit
   with only peoples and then, in my page, write a line [expand title=”Business 
   Unit 1″][table id=1 /][/expand] for each BU. This way, if I don’t click on anything,
   I have only business units names and I can expand/collapse to see which people
   are in them.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/tablepress-like-a-dropdown-menu/#post-6307944)
 * Hi,
 * very nice, that’s also a good idea! Good to hear that you found this solution!
 * Best wishes,
    Tobias
 * P.S.: In case you haven’t, please [rate TablePress](https://wordpress.org/support/view/plugin-reviews/tablepress)
   here in the plugin directory. Thanks!

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

The topic ‘TablePress like a dropdown menu’ 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

 * [dropdown](https://wordpress.org/support/topic-tag/dropdown/)
 * [hide](https://wordpress.org/support/topic-tag/hide/)
 * [menu](https://wordpress.org/support/topic-tag/menu/)
 * [show](https://wordpress.org/support/topic-tag/show/)

 * 5 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/tablepress-like-a-dropdown-menu/#post-6307944)
 * Status: resolved