Cannot read property 'Yb' of undefined

Resolved
Accobat Development asked on March 16, 2021

Hello,
 
I don't know if I'm using the tuple right in the tableSizes object, but I'm getting the following error:
Uncaught TypeError: Cannot read property 'Yb' of undefined
at Function.yb (<anonymous>:32009:361032)
at h.Cp (<anonymous>:32009:360321)
at h.Ga (<anonymous>:32009:4674)
at h.Sn (<anonymous>:32009:1345724)
at h.select (<anonymous>:32009:1349495)
at h.filter (<anonymous>:32009:1345836)
at a.Nq (<anonymous>:32009:1318467)
at h._this408.zM (<anonymous>:32009:1311130)
at h.Ga (<anonymous>:32009:4674)
at h.ab (<anonymous>:32009:5208)
Reproduced: https://jsfiddle.net/t9s2p83c/
 
Have I entered something wrong or is it an error?
 
Jimmy

5 answers

Public
Milena Pechura Milena Pechura Flexmonster March 17, 2021

Hello, Jimmy,
 
Thank you for writing to us.
 
Our team has investigated your example and found the cause of the issue.
 
Please change the "Amaunt" to "Amount" on lines 136 and 146 in your example. As the name of the field is not specified correctly, Flexmonster does not apply tableSizes to the grid. 
Speaking of the error in the console, we will fix this case so the misspelled field name will not trigger the error anymore.
 
Hope it helps!
Do not hesitate to contact us if any other questions arise.
 
Best regards,
Milena

Public
Accobat Development March 17, 2021

Thanks
 
Jimmy

Public
Milena Pechura Milena Pechura Flexmonster April 6, 2021

Hello, Jimmy,
 
We are pleased to inform you that the issue with a misspelled measure name in the tableSizes object leading to the exception was fixed.
 
This is included in the 2.8.30 version of Flexmonster: https://www.flexmonster.com/release-notes/.
You are welcome to update the component: https://www.flexmonster.com/doc/updating-to-the-latest-version/.
 
Feel free to write to us in case of questions.
 
Best regards,
Milena

Public
Milena Pechura Milena Pechura Flexmonster April 13, 2021

Hi, Jimmy,
 
Our team is wondering whether you updated to the latest version.
If so, could you please let us know if the fix helped?
 
We will be glad to hear your feedback.
 
Kind regards,
Milena

Public
Accobat Development April 16, 2021

It works
 
Jimmy

Please login or Register to Submit Answer