Hi,
thanks for your question, and sorry for the trouble.
Are you referring to the TablePress Row Filter Extension here? (You are if the Shortcode on that page uses a filter Shortcode parameter.)
If that is the case, you can indeed limit the filtering, by adding another parameter:
filter_columns="1,2"
(which holds a list of the column numbers that should be taken into account for the filtering).
Regards,
Tobias
Thread Starter
xucaen
(@xucaen)
I have it like:
[table id=123 filter=”Testing” filter_columns=”2″ /]
where column 2 contains only the word “Testing”.
However, when I view the page, I see all other rows where column 2 is not “Testing”. We do have a plugin called “TablePress Extension: Row Filtering” v1.2. Is that the correct plugin? Are there any other plugins I need to make this work? Are columns zero based or 1 based?
Thank you for your help.
Hi,
that seems correct to me.
Yes, this is the correct plugin, but you might want to update to version 1.3 from https://tablepress.org/extensions/row-filter/ (you will have to update manually).
If that’s activated as a plugin, your Shortcode should show a table with only those rows that have “Testing” in their second column (the counting here is 1-based).
Regards,
Tobias