Hi
I've got a form that displays values from a data source, and I'd like to reformat some of the values (e.g. to display currency values with a dollar sign).
I know this can be done in a ListGrid by using ListGridField.setCellFormatter, but what about fields in a form? Is there any way to format the value of StaticTextItem or TextItem in a similar way?
If not, is my only option to have a properly formatted value in the data source?
Thanks,
Alex.
I've got a form that displays values from a data source, and I'd like to reformat some of the values (e.g. to display currency values with a dollar sign).
I know this can be done in a ListGrid by using ListGridField.setCellFormatter, but what about fields in a form? Is there any way to format the value of StaticTextItem or TextItem in a similar way?
If not, is my only option to have a properly formatted value in the data source?
Thanks,
Alex.