Support expired after 6 months, but no harm in asking here. Hopefully someone can help.
Looking to show Min, Max, Avg above the table alongside Filters. I've hidden table, so that may compound it - but does anyone know if it is possible to add CSS to show the above (Min,Max,Avg) beside the functions filter across all tables?
I've quite a lot of tables & charts so was hoping to avoid copy & pasting a hell of a lot of short codes. Is there any way it can be added via CSS or JS for every single MIN, MAX, AVG and SUM - so in essence the default location of the above functions is always alongside the filters?
I guess you could create a template which would add the shortcodes dynamically, but I cannot say how, since I never did that. Also, I am not aware of any other way of doing this.
You would have to know what the column's ID is and what the table ID is. The shortcodes are added like this:
[wpdatatable_sum table_id=1 col_id=5]
So, I don't know how you would apply the correct col_id for each table.
You can take a look at our hooks and filters, and hopefully you'll find something useful there.
Support expired after 6 months, but no harm in asking here. Hopefully someone can help.
Looking to show Min, Max, Avg above the table alongside Filters. I've hidden table, so that may compound it - but does anyone know if it is possible to add CSS to show the above (Min,Max,Avg) beside the functions filter across all tables?
Hello BobbyIndex.
Thanks for your kind words.
When you open the column settings, and go to "Data" you will see shortcodes for MIN, MAX, AVG and SUM:
You can use those shortcodes to display the results outside the table.
I hope this helps.
Best regards.
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
Many thanks Aleksander,
I've quite a lot of tables & charts so was hoping to avoid copy & pasting a hell of a lot of short codes. Is there any way it can be added via CSS or JS for every single MIN, MAX, AVG and SUM - so in essence the default location of the above functions is always alongside the filters?
Hi again BobbyIndex.
Thanks for the purchase.
I guess you could create a template which would add the shortcodes dynamically, but I cannot say how, since I never did that. Also, I am not aware of any other way of doing this.
You would have to know what the column's ID is and what the table ID is. The shortcodes are added like this:
[wpdatatable_sum table_id=1 col_id=5]
So, I don't know how you would apply the correct col_id for each table.
You can take a look at our hooks and filters, and hopefully you'll find something useful there.
Best regards.
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