• Resolved anoormohamadi90

    (@anoormohamadi90)


    Hello,
    I am using the datatables-button-filter extension and I need to filter a hidden column, but the filter does not work on that hidden column. Is there any way to filter this column?
    [table id=articles responsive=collapse datatables_button_filter=true hide_columns=”3″/]

    Thank you for your help and consideration.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    You can’t filter on a column that is hidden using the hide_columns Shortcode parameter, because that is never sent to the browser.

    However, if you hide the column using CSS code instead, like

    .tablepress-id-articles .column-3 {
      display: none;
    }

    the filtering should work.

    Regards,
    Tobias

    Thread Starter anoormohamadi90

    (@anoormohamadi90)

    Thank you so much. It works perfectly.

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! ?? Good to hear that this helped!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘datatables button filter on hidden column’ is closed to new replies.