Hi Joe,
thanks for your question and sorry for the trouble!
Just to be clear, I assume that you are refering to the search box in the top right corner? Then, you are right, a column that is hidden via the “Edit” screen of TablePress (so that it appears with a red background) is not searchable by that, as it is not part of the final table.
To achieve that, you can instead hide the column with a different method:
1. Please unhide the column on the table’s “Edit” screen.
2. Add this to the “Custom Commands” textfield on the table’s “Edit” screen:
"aoColumnDefs": [ { "bVisible": false, "aTargets": [ 6 ] } ]
In that code, adjust the 6 to the desired columns number minus 1 (i.e. 6 indicates the 7th column, as counting starts with 0 in that code).
Regards,
Tobias
Tobias,
Thank You!! That worked great. The only issue I am having is that the search isnt finding all of the keywords in the field. Any ideas? I have about 20 keywords in the keyword column for each row. I am looking for keywords that I know are in the keyword field but it is coming up with no results. Is there a way to index the table perhaps? I will keep trying.
Thank You,
Joe
Tobias,
I figured it out, I didnt refresh the page after I updated the table. I would like to thank You so much for your quick answer, you are awesome.!!!
Hi,
very nice! Good to hear that this helped, and that you were already able to figure out that small problem! 🙂
Best wishes,
Tobias
P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!