Dear visitor, despite the COVID-19 outbreak, our team continues operating at full speed.

Also, here is the form where you can apply for a special discount and we will contact you with possible options. Stay safe and continue achieving your business goals.

Fill the form
Get Free Trial
Get Free Trial

reportcomplete event doesn't return any data

Answered
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.

(reportcomplete)="onReportComplete($event)"

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.
Javier

2 answers

Public
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: https://www.flexmonster.com/api/events/
 
Please let us know if this helps.
 
Best regards,
Mykhailo

Public
Javier Sanz Lopez May 6, 2020

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

Please login or Register to Submit Answer