Download Free Trial

How to save multiple pivot table config and data in a single button.

Hello everyone! I have a page that contains multiple pivot tables, is there any way to, a single button save the configuration and all database?
I wait, hugs!

1 answer

Dmytro Zvazhii Flexmonster February 21, 2018

Hello Luciano,
Thank you for writing. We suggest using the following approach: when you create some pivot instance you need to store the reference on it to some data structure for example array. After that, you can write a function which calls saving function for each pivot instance. After that, you can bind this function to some button. Also, please consider the idea of using the extended functionality of save() API call. It allows storing report.json file directly to the server. Please find examples here – Also, you can handle the saving process on your own. In such case, please use getReport() API call. It returns the object with all the necessary data. Please find the example here –
Let us know if the information above was helpful for you.

Please login or Register to Submit Answer