Hi Isomorphic. I have an small list of parameters displayed in a ListGrid, which isn't DataBound, so I create and add the fields manually to the ListGrid, and then populate the ListGrid with grid.setData() (by also creating the records manually with each parameter's 'Name' and default 'Value').
I want to have the 'Value' field displayed with the proper decimal and thousands separator. I am aware of the setCellFormatter(), setEditValueFormatter() and setEditValueParser() APIs, and I have a working solution using those, but this approach seems error prone and that will require some effort to maintain.
Knowing that for DataBound ListGridFields this is achieved so easily by just adding type="localeFloat" in the ds.xml field definition, I wanted to know if there's an API like that for my non DataBound ListGridFields?
Thanks
I am using SmartGWT 6.0p 2016-09-17
I want to have the 'Value' field displayed with the proper decimal and thousands separator. I am aware of the setCellFormatter(), setEditValueFormatter() and setEditValueParser() APIs, and I have a working solution using those, but this approach seems error prone and that will require some effort to maintain.
Knowing that for DataBound ListGridFields this is achieved so easily by just adding type="localeFloat" in the ds.xml field definition, I wanted to know if there's an API like that for my non DataBound ListGridFields?
Thanks
I am using SmartGWT 6.0p 2016-09-17
Comment