As the following example (https://jsfiddle.net/xjav1g36/53/) shows, setReport is somehow not working, but assign the report directly in the pivot works. What happened?
I found out after setReport is put into ready event (https://jsfiddle.net/xjav1g36/57/) and works. Guess it has to do with pivot is not ready yet in the previous example.
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.