Despite the COVID-19 outbreak, our team continues operating at full speed. We are always here to support and answer all your questions.

Feel free to reach out by filling this quick form.

Fill the form
Get Free Trial

getReport issue

Answered
Albert Ryan Banez asked on January 13, 2021

How come I am getting null value when I do the getReport() here. 
Please help.
pivot[x] = new Flexmonster({
container: “#pivot-container” + x,
licenseKey: “???”,
componentFolder: “assets/plugins/flexmonster/”,
width: “100%”,
height: “50%”,
toolbar: true
});
var flex = {
“dataSource”: {
“type”: “json”, “data”: JSON.parse(obj.content)
},
“options”: {
“defaultDateType”: “date string”
}
};
pivot[x].setReport(
flex
);
console.log(pivot[x].getReport());
 
 

1 answer

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster January 13, 2021

Hello,
 
Thank you for reaching out to us.
 
Our team did not manage to reproduce the described issue.
 
You are welcome to see the JSFiddle we have prepared for the demonstration: https://jsfiddle.net/flexmonster/6d4w1n3r/.
 
Please let us know if it helps.
 
Kind regards,
Illia

Please login or Register to Submit Answer