Despite the COVID-19 outbreak, our team continues operating at full speed. We are always here to support and answer all your questions.

Feel free to reach out by filling this quick form.

Fill the form
Get Free Trial

reportcomplete event doesn't return any data

Resolved
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

4 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

Public
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 !

Public
Vera Didenko Flexmonster June 16, 2020

Hello, 
 
Thank you for reaching out to us.
 
Please see our reply in the following thread: https://www.flexmonster.com/question/question-about-reportchange/
 
Kind regards, 
Vera

Please login or Register to Submit Answer