Get Free Trial

How do I incorporate buttons in the page to change JSON source?

Nathan Wells asked on October 9, 2018

I am interested to find out how I can incorporate buttons with my pivot table to switch between JSON data sources. They would all be inline JSON.
Also, I have JSON data in my pivot table but I have to refresh the page to have the data with the table appear. Is there a good workaround?
Thank you!

1 answer

Dmytro Zvazhii Dmytro Zvazhii Flexmonster October 10, 2018

Hello Nathan,
Thank you for writing. You can easily add the buttons you want. Please find the example here:
The recommended approach to reload inline data is to use setReport() API call. You can find more information about it here:
Please let us know if everything works fine for you.

Please login or Register to Submit Answer