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

Add inline report to Angular <fm-pivot> Component?

Reynolds Blair asked on November 21, 2019

I’m trying to make some small changes to the example Angular app. Rather than get the report from a service I want to maintain it as part of my project. For now, I have a variable, report, in my app-component.ts that holds the demo report.json as a string, In my template my <fm-pivot> looks like this:

  [report]=”[ report ]”>

When I run this a get an empty pivot table even though the browser console shows that I have a good report object. What am I missing?

1 answer

Illia Yatsyshyn Illia Yatsyshyn Flexmonster November 22, 2019

Hello, Reynolds,
Thank you for your question.
We have noticed that you are trying to get the variable named [ report ], but your factual variable has the name report.
We kindly recommend getting the variable through its actual name without any additional brackets ([report]="report").
Please, let us know if it helps.
Kind Regards,

Please login or Register to Submit Answer