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

grid type flat does not work for datasourceType microsoft analysis services

Mike Boddin asked on March 13, 2019

see https://jsfiddle.net/ayhmvu32/2/
when you run, there comes an exception

Uncaught TypeError: Cannot read property 'type' of undefined
at P1b.ED (flexmonster.js:9)
at P1b.sort (flexmonster.js:9)
at P1b.JG (flexmonster.js:9)
at P1b.load (flexmonster.js:9)
at P1b.Kt (flexmonster.js:9)
at l7.P1b.i1b.fr (flexmonster.js:9)
at l7.r1.dispatch (flexmonster.js:9)
at l7.Nk (flexmonster.js:9)
at N25.cb (flexmonster.js:9)
at N25.An (flexmonster.js:9)

if you change grid.type to classic or compact, everything works fine

2 answers

Vera Didenko Vera Didenko Flexmonster March 13, 2019

Hello Mike,
Thank you for pointing that out and providing us with a JSFiddle.
Yes, this error is thrown in the console when the grid.type is set to flat
We are currently working on a solution to this issue. The fix will be available in the minor release with the ETA April 8. 
However, please note that the flat table is not supported for Microsoft Analysis Services data source.
Please let us know if you have any further questions.
Best Regards,

Vera Didenko Vera Didenko Flexmonster April 10, 2019

Hello, Mike,

We are glad to inform you that the error pop-up window when opening OLAP data source in flat view is fixed.
You are welcome to update the component.

Best Regards,

Please login or Register to Submit Answer