Get Free Trial

setReport not working

liangyi2012 asked on August 10, 2018

As the following example ( shows, setReport is somehow not working, but assign the report directly in the pivot works. What happened?

2 answers

liangyi2012 August 10, 2018

I found out after setReport is put into ready event ( and works. Guess it has to do with pivot is not ready yet in the previous example.

Tanya Gryshko Tanya Gryshko Flexmonster August 10, 2018

Hello, Liang Yi,
Thank you for writing to us!
Yes, you are right, all Flexmonster API calls are blocked until the component’s ready event is dispatched. That’s why using ready event is the recommended way for such case. Also, in case you want to retrieve information about data source structure, we suggest using reportcomplete event.
Please let me know in case of other questions.

Please login or Register to Submit Answer