When the data format in a grid cell is string, what are the formatting options? Example
webReqGrid = new AW.UI.Grid;
var textFormat = new AW.Formats.String;
I would really like to apply a regular expression to the string formatting such as replace(/^0+/, "")
A blank zero number is acceptable.
Are there any formatting options for AW.Formats.String?
Monday, June 23, 2008
There are no parameters for AW.Formats.String. If you want some kind of custom conversion - you need to implement custom dataToText method - see the source code in /source/lib/formats/string.js