Get Free Trial

reportcomplete event doesn't return any data

Javier Sanz Lopez asked on May 4, 2020

Good Morning.
I am trying to implement my flexmonster table in Angular 9, and I have followed the documentation in your Angular introduction. In that documentation the reportcomplete event is shown in the following way.


In my code, the call is exactly the same and my onReportComplete method just has a console log for this $event. But my surprise was that it returns undefined all the time.

onReportComplete(event: any) {console.log('0', event);}

Thanks for everything and best regards.

4 answers

Mykhailo Halaida Mykhailo Halaida Flexmonster May 4, 2020

Hi Javier,
Thank you for posting your question.
It looks like the mentioned code snippet from our Angular integration page contains a mistake from our side. The reportcomplete event does not actually return any values to its callback function. We will make sure to update the Angular integration guide to ensure it contains the most relevant information on the topic.
Feel free to check out the following documentation page for most up-to-date info on Flexmonster events:
Please let us know if this helps.
Best regards,

Javier Sanz Lopez May 6, 2020

Good morning Mykhailo.
Thanks for the information, and for correcting it from the Angular section.
Best regards.

long yu June 16, 2020

i didn’t use angular, but i meet the same problem .
sometimes, in the callback of reportcomplete, getReport()  return nothing !
it’s a catastrophe for me !

Vera Didenko Vera Didenko Flexmonster June 16, 2020

Thank you for reaching out to us.
Please see our reply in the following thread:
Kind regards, 

Please login or Register to Submit Answer