setFormat() call with maxDecimal property = -1 does not work as expected

Answered

Hello, when I have a grid with a global format with maxDecimal of 2, and I then use setFormat to set an individual column format to have a maxDecimal value of -1, the decimal places in the data do not update properly to show the underlying data. See example here: http://jsfiddle.net/eo1zh0qv/
 
Here’s an example of behavior working as expected when using a value other than -1 : http://jsfiddle.net/y1vjrLd9/
 
Thanks for your help!

3 answers

Public
Iryna Kulchytska Flexmonster August 2, 2018

Hello Patrick,
 
Thank you for the detailed report of the issue.
It will be fixed within the minor version 2.6.2 (ETA: August 27).
 
Will this work for you?
 
Kind regards,
Iryna

Public
Patrick OFriel August 2, 2018

Thank you very much Iryna! That fix date works good for me

Public
Dmytro Zvazhii Flexmonster August 28, 2018

Hello Patrick,
We are glad to inform you that the version with the fix is already available. You are welcome to try it.
Regards,
Dmytro

Please login or Register to Submit Answer