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:
<fm-pivot
[licenseKey]="'my-key-here'"
[report]="[ report ]">
</fm-pivot>
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?
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,
Illia