Despite the COVID-19 outbreak, our team continues operating at full speed. We are always here to support and answer all your questions.

Feel free to reach out by filling this quick form.

Fill the form
Get Free Trial

How to speed up report loading

uchivoitachi asked on April 23, 2021

Dear Team,
Would you please kindly suggest how to speed up data loading?
For example,there’re 2000 rows data pending to load to flexmonster,after loaded,I need to change one field’s value of all rows,I choose to use API Call flexmonster().setReport(newReportObj),it act as like to reload all the data again.

change to below than reload via API Call flexmonster().setReport(newReportData):

does it have to reload via setReport(),or updateData() … please suggest,thanks.

4 answers

Mykhailo Halaida Mykhailo Halaida Flexmonster April 23, 2021

Thank you for posting your question.
To update your JSON data at runtime, we’d suggest using the updateData() API call with the partial option enabled – this is currently the recommended approach for use cases like yours.
See the 4th example on updateData()‘s documentation page for a step-by-step explanation of how to achieve partial JSON data update.
We’ve also prepared a quick sample illustrating this approach:
Please let us know if this helps.
Best regards,

uchivoitachi April 27, 2021

Thanks for the response,I’ve already use API Call updateData() with partial=true,and willing to try to use it for the whole data reload,will let you know what happen,thanks.

Mykhailo Halaida Mykhailo Halaida Flexmonster April 27, 2021

Thank you for the heads up, we’ll be looking forward to updates from you.

Mykhailo Halaida Mykhailo Halaida Flexmonster 11 hours ago

Hope you’re having a great day!
Just checking whether your updateData() testing was successful. Does it suit your use case?
We’d be happy to hear your feedback.
Best regards,

Please login or Register to Submit Answer