• Resolved mbrhc

    (@mbrhc)


    Hello and thank you again for the excellent plugin. I activated the Column Filter Plugin and checked the “Table Foot Row”, however the filters are not showing – I think it maybe because I did not use the script shown? Where should the script be placed?

    From the documentation:
    “Initialization code is very simple. You just need to add columnFilter() call to the DataTable instance. By default filters for the text searches will be added to each footer cell.

    $(document).ready( function () {
    $(‘#example’).dataTable().columnFilter();
    }

    Thank you for any guidance,

    Colleen

    https://ww.wp.xz.cn/plugins/tablepress/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter mbrhc

    (@mbrhc)

    Hello again — If I may ask a follow-up question to this… Do the text searches HAVE to be added to the footer cells, as opposed to the header cells?? Is it possible to have them at the header? THANK YOU …
    Colleen

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.
    Also sorry for the late answer. I was on vacation and didn’t have a chance to reply earlier.

    You won’t need to add JS code manually here, just activate the Extension and add the Shortcode parameter.

    To have the fields as dropdown at the top, you could use this TablePress Extension:
    http://tablepress.org/extensions/datatables-columnfilterwidgets/

    Regards,
    Tobias

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

The topic ‘Column Filters’ is closed to new replies.