We're Moving to a New Support Platform – Starting June 1st!
We’re excited to let you know that starting June 1st, we’ll be transitioning to a new support system that will be available directly on our product websites – Amelia, wpDataTables, and Report Builder. In fact, the new support platform is already live for Amelia and wpDataTables, and we encourage you to reach out to us there.
You'll always be able to reach us through a widget in the bottom right corner of each website, where you can ask questions, report issues, or simply get assistance.
While we still do not offer live support, a new advanced, AI-powered assistant, trained on our documentation, use cases, and real conversations with our team, is there to help with basic to intermediate questions in no time.
We're doing our best to make this transition smooth and hassle-free. After June 1st, this current support website will redirect you to the new "Contact Us" pages on our product sites.
Thanks for your continued support and trust – we’re excited to bring you an even better support experience!
Hello,
I'm strongly considering purchasing wpDataTables, and a big part of my front-end functionality will depend upon using column calculations which then display the resutling column calc result elswhere in the site as a dyamic result.
For this, it looks like I could use https://wpdatatables.com/documentation/table-features/calculation-functions/ the parse shortcodes functionality to show a dynamically calculated column sum or average elsewhere in the site.
That said, It is also critically important that I can read that same variable value, such as the sum of a certain column, with javascript or jquery.
Is it possible to get the value displayed by a dynamic shortcode such as a dynamic calculated column sum, and then use it/display it using javascript?
TLDR; is it possible to get the results of a table column sum into a usable javascript or php variable for other code/calculations/display?
Thanks for your advice!
Jason
Hi Jason,
Thank you for the inquiry.
You could take a value from SUM, AVG, MIN, MAX shortcode with JavaScript or with jQuery and then store it in some JS variable.
For PHP it would be little complicated than with jQuery.
You can try our sandbox site: Front-end & Back-end - you can find a fully functional version there to try out all plugin features.