🍉 Meet Flexmonster Pivot Table & Charts 2.9.Check out all hot features!
Get Free Trial

setReport() – measures active = false

Seekme asked on November 6, 2019

I’ve been trying to use the getReport() function to save a report and setReport() to load that report but it seems that the “active” parameter of all measures is not taken into account.

All of my measures are in the values field even though some of them are “active : false”.

Is it expected ? Am I doing something wrong ?
I can do a js fiddle if needed.


2 answers

Seekme November 6, 2019

Ok looks like when I remove the double quotes around the “false” in the saved json, it works well.

Illia Yatsyshyn Illia Yatsyshyn Flexmonster November 6, 2019

Thank you for reaching out to us.
We’re happy to hear you have managed to resolve the problem.
The issue is connected with data types. false is a boolean type and shouldn’t be surrounded with quotes.
Feel free to contact us in case other questions occur.

Please login or Register to Submit Answer