Hi,
We recently switched out data source "float" fields to "localeFloat"
When showing that field as a StaticTextItem we discovered that formatting does not hold - e.g. setting format to "0.00#" does not prevent from dropping second 0 after dot and setting it to "0.0##' does not make it round to 3 decimal points, sometimes it will round to 2 and sometimes to 1 even when it's not a trailing 0 issue.
This all works perfectly fine when field type is simply "float".
We also noticed that TextItem.setValueFormatter is not called for localeFloat field types but that's ok if we can make setFormat work well.
We're on SmartGWT 6.1p, SmartClient v11.1p_2018-03-17
Thank you!
We recently switched out data source "float" fields to "localeFloat"
When showing that field as a StaticTextItem we discovered that formatting does not hold - e.g. setting format to "0.00#" does not prevent from dropping second 0 after dot and setting it to "0.0##' does not make it round to 3 decimal points, sometimes it will round to 2 and sometimes to 1 even when it's not a trailing 0 issue.
This all works perfectly fine when field type is simply "float".
We also noticed that TextItem.setValueFormatter is not called for localeFloat field types but that's ok if we can make setFormat work well.
We're on SmartGWT 6.1p, SmartClient v11.1p_2018-03-17
Thank you!
Comment