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!
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 – https://www.flexmonster.com/api/save/. 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 – https://www.flexmonster.com/api/getreport/.
Let us know if the information above was helpful for you.