Get Free Trial

reportcomplete calls instanlty after component initialization

Oleg asked on March 12, 2021

When I add Pivot component to react component it activates reportcomplete method after first render. Without React it works as expected in your official example.
I spend a lot of time trying to figure out what event I need to use if I wanna do something after all render happens.
In your docs its ‘onreportcomplete’. but it fires two times . First time when component initialize on page. and second time after it fully processed data.

1 answer

Vera Didenko Vera Didenko Flexmonster March 15, 2021

Hello, Oleg,
Thank you for writing to us. 
We would like to kindly explain that we have not managed to reproduce the same behavior on our end using our sample React project.
The sample project contains a “Calling events” example showing which event was triggered and when the event was triggered (link to source code).
Please let us know if this helps.
Looking forward to your reply.
Kind regards,

Please login or Register to Submit Answer