To remove the SUM symbol from the footer, you need to open ../wp-content/plugins/wpdatatables/assets/js/wpdatatables/wpdatatables.js and around line 595 find this line of code:
Just remove "& #8721; = " from the end, so it looks like this:
var sumLabel = tableDescription.sumFunctionsLabel ? tableDescription.sumFunctionsLabel : ' ';
And it will remove the SUM symbol.
You would need to disable "Use minified wpDataTables Javascript" slider in wpDataTables settings/Custom JS and CSS tab.
The calculation functions shortcodes are being pulled from ../wp-content/plugins/wpdatatables/controllers/wdt_functions.php, so around line 635 you'll see this:
We just tested this, by removing the code for the SUM symbol, and after the minified JS option was disabled, it worked fine:
Since this was an old response, the line where you need to remove '& #8721; = ' is 830 instead of 595.
When you disable this option, it pulls the data from the .js files instead of .min.js files which are compressed files to speed up the plugin. If you don't have millions of rows in your tables, and you have a decent hosting plan, this won't affect the speed.
Hi guys,
I want to remove the character ∑ = from my field. Unfortunately it doesn't work with javascript and the hook addOnDrawCallback.
do you have any idea how i can remove it?
best regards
Andrei
Hello Andrei
Thank you for your purchase.
To remove the SUM symbol from the footer, you need to open ../wp-content/plugins/wpdatatables/assets/js/wpdatatables/wpdatatables.js and around line 595 find this line of code:
Just remove "& #8721; = " from the end, so it looks like this:
And it will remove the SUM symbol.
You would need to disable "Use minified wpDataTables Javascript" slider in wpDataTables settings/Custom JS and CSS tab.
The calculation functions shortcodes are being pulled from ../wp-content/plugins/wpdatatables/controllers/wdt_functions.php, so around line 635 you'll see this:
Just remove the code for the symbol again, and that's it.
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
Hi Guys,
I'm having the same issue.
Followed the given steps, but still showing.
What is the impact of disabling "Use minified wpDataTables Javascript"
Thank you in advance
Hello there.
We just tested this, by removing the code for the SUM symbol, and after the minified JS option was disabled, it worked fine:
Since this was an old response, the line where you need to remove '& #8721; = ' is 830 instead of 595.
When you disable this option, it pulls the data from the .js files instead of .min.js files which are compressed files to speed up the plugin. If you don't have millions of rows in your tables, and you have a decent hosting plan, this won't affect the speed.
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
You can also just target the specific selector for the SUM symbol and hide it:
.wdt-column-sum strong {display: none;}
Of course, you may want to specifically target the table and/or column you're doing this for. :-)
Thank you for your assistance, Jay.
We're glad to see people helping each other here!
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