Title: Column filter with ColumnFilterWidgets
Last modified: July 4, 2019

---

# Column filter with ColumnFilterWidgets

 *  Resolved [probeeld](https://wordpress.org/support/users/probeeld/)
 * (@probeeld)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/column-filter-with-columnfilterwidgets/)
 * Hi there,
 * Goodmorning /afternoon Tobias.
    I’m struggling with the option to have a Column
   filter.
 * I inserted this shortcode:
    [minti_table style=”3″][table id=94 datatables_columnfilterwidgets
   =true datatables_columnfilterwidgets_exclude_columns=1,3,4,5 /][/minti_table]
 * I only want to filter on “year”. So when I select a year it should only show 
   the content of the table from that year isn’t it? That’s what I would like to
   see.
    But I get this: [https://www.dropbox.com/s/ergsvi8qc20ysx5/Filter03.jpg?dl=0](https://www.dropbox.com/s/ergsvi8qc20ysx5/Filter03.jpg?dl=0)
 * Should I not see only the 2005 rows?
    Am I missing something? Thank you in advance
   for your support.
 * Regards,
    Ton

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/column-filter-with-columnfilterwidgets/#post-11699846)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * You will also have to turn on the “Search” checkbox on the table’s “Edit” screen
   as this then loads the necessary code for the dropdowns.
 * If you then don’t want to show the search field, you can hide it by adding this
   to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress:
 *     ```
       #tablepress-94_filter {
         display: none;
       }
       ```
   
 * Regards,
    Tobias
 *  Thread Starter [probeeld](https://wordpress.org/support/users/probeeld/)
 * (@probeeld)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/column-filter-with-columnfilterwidgets/#post-11702975)
 * Hi Tobias,
 * That works like a charm, thank you very much.
    One more question, is it possible
   to show, when opening the Table only one year? The first or last year in the 
   columns?
 * Regards,
    Ton
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/column-filter-with-columnfilterwidgets/#post-11703222)
 * Hi Ton,
 * good to hear that this helped!
 * Unfortunately, I don’t know a solution to only show one year though, sorry.
 * Regards,
    Tobias
 *  Thread Starter [probeeld](https://wordpress.org/support/users/probeeld/)
 * (@probeeld)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/column-filter-with-columnfilterwidgets/#post-11714618)
 * Hi Tobias,
 * Thanks for your help.
 * One more question.
 * I would like to make it a group, like this. But it seems not to work. Do I miss
   something or isn’t it possible?
 *  #tablepress-group-2_filter {
    display: none; }
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/column-filter-with-columnfilterwidgets/#post-11714689)
 * Hi,
 * I’m not sure what you mean with “group” here. Can you please explain that?
 * Regards,
    Tobias
 *  Thread Starter [probeeld](https://wordpress.org/support/users/probeeld/)
 * (@probeeld)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/column-filter-with-columnfilterwidgets/#post-11714846)
 * Hi Tobias,
 * I want to
 * #tablepress-94_filter {
    display: none; }
 * execute for a group of tables, not al my tables. Or do I have to do this for 
   every individual table? I can not ad a Extra CSS Classes to those tables?
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/column-filter-with-columnfilterwidgets/#post-11715088)
 * Hi,
 * yes, you will have to do this for each table ID individually, or grouped like
 *     ```
       #tablepress-94_filter,
       #tablepress-95_filter,
       #tablepress-123_filter {
         display: none;
       }
       ```
   
 * i.e. a comma-separated list.
    Using an “Extra CSS class” is not possible here,
   unfortunately.
 * Regards,
    Tobias
 *  Thread Starter [probeeld](https://wordpress.org/support/users/probeeld/)
 * (@probeeld)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/column-filter-with-columnfilterwidgets/#post-11715119)
 * Ah, thank you very much!
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/column-filter-with-columnfilterwidgets/#post-11715610)
 * Hi,
 * sure, no problem! Always happy to help!
 * Best wishes,
    Tobias
 * P.S.: In case you haven’t, please [rate TablePress](https://wordpress.org/support/plugin/tablepress/reviews/)
   here in the plugin directory. Thanks!

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

The topic ‘Column filter with ColumnFilterWidgets’ 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

 * [column](https://wordpress.org/support/topic-tag/column/)
 * [ColumnFilterWidgets](https://wordpress.org/support/topic-tag/columnfilterwidgets/)
 * [filter](https://wordpress.org/support/topic-tag/filter/)

 * 9 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/column-filter-with-columnfilterwidgets/#post-11715610)
 * Status: resolved