Title: Database table filter issue
Last modified: September 4, 2024

---

# Database table filter issue

 *  Resolved [scripotime](https://wordpress.org/support/users/scripotime/)
 * (@scripotime)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/database-table-filter-issue/)
 * Could you anyone help me:
    1. The information displayed in my table filters does not display correctly
    2. I am new to wordpress are there any improvement you would suggest?
 * thank you !
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdatabase-table-filter-issue%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)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/database-table-filter-issue/#post-17995310)
 * Hi!
 * Thanks for your post and sorry for the trouble!
 * Just to be sure, do you mean the filter dropdowns above the table? The cause 
   for this is that your theme and WooCommerce are both influencing these. To fix
   them, please add this to the “Custom CSS” text area on the “Plugin Options” screen
   of TablePress:
 *     ```wp-block-code
       .dataTables_wrapper select {  height: auto;}
       ```
   
 * Unfortunately, I can’t really answer the second question, as that’s not very 
   specific, sorry.
 * Best wishes,
   Tobias
 *  Thread Starter [scripotime](https://wordpress.org/support/users/scripotime/)
 * (@scripotime)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/database-table-filter-issue/#post-18007917)
 * Hi, thank you for your response it worked perfectly.
 * another question: How can I make the columns until “administrator” visible and
   the only visible when users click on the (+) button? Also is there a possibility
   to make the table more responsive for the mobile version?
 * [https://scripotime.com/database/](https://scripotime.com/database/)
 * thank you
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/database-table-filter-issue/#post-18008072)
 * Hi,
 * great to hear that this helped! To collapse those columns by default, which will
   also be better for responsiveness on mobiles, please add this to the “Custom 
   Commands” text field on the table’s “Edit” screen:
 *     ```wp-block-code
       "columnDefs": [  { "className": "none", "targets": [ 5, 6, 7, 8 ] }]
       ```
   
 * That list in the `targets` attribute is a list column indices (the column number
   minus 1) for the columns that should be collapsed.
 * Best wishes,
   Tobias

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

The topic ‘Database table filter issue’ 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/)

 * 3 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [1 year, 9 months ago](https://wordpress.org/support/topic/database-table-filter-issue/#post-18008072)
 * Status: resolved