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, https://cdn.flexmonster.com/reports/report.json. 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?
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
We kindly recommend getting the variable through its actual name without any additional brackets (
Please, let us know if it helps.