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
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
Good morning Mykhailo.
Thanks for the information, and for correcting it from the Angular section.
Best regards.
Javi
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 !
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