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.
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: https://jsfiddle.net/flexmonster/xgzm1w2k/.
Please let us know if this helps.
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.
Thank you for the heads up, we’ll be looking forward to updates from you.
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.
How are you?
We were wondering if you could get
updateData() to work. Is there still anything we can help you with?
Looking forward to your response.