So for a table, can you (based on the result set) only show columns that have data in them?
Meaning if you had say 3 rows of results (or even just 1) and several of the columns had no data in them (for any of the records), could those columns be hidden?
This is in relation to using Filters in a Form.
(and if it has any bearing, I also bought Powerful Filters for wpDataTables)
So for a table, can you (based on the result set) only show columns that have data in them?
Meaning if you had say 3 rows of results (or even just 1) and several of the columns had no data in them (for any of the records), could those columns be hidden?
This is in relation to using Filters in a Form.
(and if it has any bearing, I also bought Powerful Filters for wpDataTables)
Thanks!
HI chrisly,
Thank you for your purchase.
Sorry to disappoint you but dynamically hiding columns unfortunately is not possible to achieve with the plugin built in features at the moment.
You can hide the columns manually from the column settings but not if the values in them are empty.
Best regards.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
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