Thank you Aleksandar! It works but I have some "system" columns and I don't want users can see thats columns so... how can I let users choose to show/hide only some columns?
wpDataTables is a WYSIWYG (What You See Is What You Get) concept based plugin. This means that the table should look the same both in back-end and in front-end.
Since you have some columns that you'd wish to hide, I can help you with some custom CSS. To hide certain columns from "Column visibility" drop-down, you can use something like this:
This is entered in the Classic Editor (Gutenberg editor), and it hides the two columns. It is a simple selector, but if you're having issues finding the correct ones, please let me know which columns you want to hide from front-end users, and share the page where that table is, so I can find the correct selectors for you.
Hi, is there a feature to let the users show/hide columns on their own from the frontend?
Thank you!
Hello Alessandro.
Thank you for your purchase.
Sure, you just need to add "Column Visibility" in table tools (above the table in back end):
After you do this, everyone visiting your site will be able to see and hide columns based on their choice.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Thank you Aleksandar! It works but I have some "system" columns and I don't want users can see thats columns so... how can I let users choose to show/hide only some columns?
Basically, I'd like to let users show/hide only columns that I setted up as "visible on front-end".
Thanks!
Hello again Alessandro.
wpDataTables is a WYSIWYG (What You See Is What You Get) concept based plugin. This means that the table should look the same both in back-end and in front-end.
Since you have some columns that you'd wish to hide, I can help you with some custom CSS. To hide certain columns from "Column visibility" drop-down, you can use something like this:
This is entered in the Classic Editor (Gutenberg editor), and it hides the two columns. It is a simple selector, but if you're having issues finding the correct ones, please let me know which columns you want to hide from front-end users, and share the page where that table is, so I can find the correct selectors for you.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Thank you very much Aleksandar! It works like a charm.
Bye!