Hi Team,
Sometimes when I call setReport() method and send reportData to it, I get the following error:
Cannot read property '0' of undefined
at y6h.EK (flexmonster.full.js:9)
at I9m.$a (flexmonster.full.js:9)
at I9m.Sz (flexmonster.full.js:9)
at I9m.uC (flexmonster.full.js:9)
at I9m.nF (flexmonster.full.js:9)
at I9m.load (flexmonster.full.js:9)
at I9m.xs (flexmonster.full.js:9)
at Q7.I9m.b9m.Rp (flexmonster.full.js:9)
at Q7.V8.dispatch (flexmonster.full.js:9)
at Q7.(anonymous function).(anonymous function) [as Kn]
I am not able to debug the error.
Could you please let me know when this error comes?
Hello, Parul,
Thank you for writing to us.
The recommended way is to call a setReport()
method after a reportcomplete
event is triggered.
Have a look at the example for Angular:
reportcomplete
: https://github.com/flexmonster/pivot-angular/blob/3d1cdcc1c03e24fb6ee9f1fae8b031806f81b237/src/app/app.component.html#L10Please let me know if it helps.
Regards,
Tanya