Hi,
thanks for your post, and sorry for the trouble.
The best way would probably be to use the Shortcode parameter for this. When embedding a table into a post or page, just use
[table id=123 hide_columns="2,4,6" /]
(with the correct table ID).
Regards,
Tobias
Thanks Tobias, I was really over thinking it! Using this method can you search for words within the hidden columns?
Hi,
no, columns that are hidden with this method can not be searched. If you want them to be searchable, you’ll have to use CSS code to hide them, like
.tablepress-id-123 .column-2,
.tablepress-id-123 .column-4,
.tablepress-id-123 .column-6 {
display: none;
}
Regards,
Tobias