Hi Isomorphic. I am trying to set a CustomValidator for a ListGridField, but when I try to use the 'value' Object that's passed to the condition() method, I keep getting exceptions no matter the approach.
I've tried:
An example of the exception that I get (when the value I put in the ListGridField is 5.55) is "java.lang.IllegalArgumentException: Object 5.55 is not of type String".
Can you please help me figuring out how to parse/cast and use this value?
I am using SmartGWT 6.0p 2016-09-27 and Chrome Version 53.0.2785.116 m.
I've tried:
Code:
(String) value String.valueOf(value) Double.valueOf(value) NumberFormat.getDecimalFormat().parse(value) JSOHelper.convertToString(value)
Can you please help me figuring out how to parse/cast and use this value?
I am using SmartGWT 6.0p 2016-09-27 and Chrome Version 53.0.2785.116 m.
Comment