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

getData returns double the number of expected results

Christopher Phillips asked on June 12, 2019

I’ve created a fiddle to reproduce the issue: https://jsfiddle.net/9r12m3e7/1/
In the console you will see it returns a data array of 24 which contains duplicates.
This issue seems to happen when Subtotals and Grand Totals are turned off and Columns only contains the “Values” default column. I’ve set up the slice in a specific way to reproduce the issue 100% of the time. 

3 answers

Vera Didenko Vera Didenko Flexmonster June 13, 2019

Hello, Christopher,

Thank you for pointing this out to us.

Our team will provide the fix for this in the minor release with the ETA 15th of July.

As a temporary workaround, we kindly advise to turn on Subtotals and Grand Totals before using getData().

Please let us know if this works for you.

Best Regards,

Christopher Phillips July 16, 2019

Hi Vera any update on this?

Tanya Gryshko Tanya Gryshko Flexmonster July 16, 2019

Hello, Christopher,
We are pleased to inform you that the issue with getData() returning the double amount of data was fixed.
This is available in the 2.7.10 version of Flexmonster: https://www.flexmonster.com/release-notes/.
You are welcome to update the component.
Here is our updating to the latest version guide for assistance: https://www.flexmonster.com/doc/updating-to-the-latest-version/.
Feel free to write to us in case of questions.
Best Regards,

Please login or Register to Submit Answer