Hey,
Is possible to cancel loading report? Sometimes loading is too long and for example some user want to cancel and load another report.
Hello, Mieriik,
Thank you for writing to us. Loading of the report stops when the new report starts loading.
If you set empty report, current report will stop loading. To set empty report please use the following code:
flexmonster.setReport({})
Please let me know if you have other questions.
Regards,
Tanya
Hi, the flexmonster.setReport({}) does not cancel the request like for example the abort method that has the GET of jquery.
I ask your it becouse I need to cancel request fom server too, so I need one method to cancel a request.
Do you have any suggestion?
regards
Hi Jesus,
Thank you for the response.
Could you please specify what is your data source type (i.e. JSON, CSV, MASA, etc.)?
We will take a look how we can improve the cancellation of the request.
Thanks,
Ian
Hi Ian, It is CSV.
Hello, Jesus Jose,
Thanks for the quick update!
Flexmonster offers clear()
API call which clears the component’s data and view. Our development will improve this API call so that it will cancel the request when called. This update will be released on July the 2nd.
Please let us know in case of any other questions.
Regards,
Tanya
Hello Jesus Jose,
We have just released the component's version 2.5.6 . You are welcome to try the update for the clear()
API call.
Waiting for the feedback.
Regards,
Dmytro
Hi Team,
how to cancel the report loading when you data source is azure analysis service .
flexmonster.setReport({}) will not working for me also new report will not set until first report loaded
We have cancel the current repot loading and set new report to load .
Hello, Nil,
Thank you for writing to us.
We suggest using the clear() API call to cancel loading a report.
Here is a JSFiddle for illustration: https://jsfiddle.net/flexmonster/e5kz694w/.
This approach should cover Azure Analysis Services as well.
Please let us know if this helps.
Kind regards,
Vera