User Guide
cfgridcolumn 201
numberFormat mask characters
In applet format only, you can use the following numberFormat attribute mask characters to
format output in U.S. numeric and currency styles. For more information on using these mask
characters, see
NumberFormat on page 783. (The cfgridcolumn tag does not support
international number formatting.)
numberFormat Optional;
Applet
Format for displaying numeric data in the grid. See
“numberFormat mask characters” on page 201.
values Optional;
Applet
Formats cells in column as drop-down list boxes;
specify items in drop-down list. For example:
values = "arthur, scott, charles, 1-20, mabel"
valuesDisplay Optional;
Applet
Maps elements in the values attribute to string to
display in the drop-down list. Delimited strings and/
or numeric range(s).
valuesDelimiter Optional;
Applet
, [comma] Delimiter in
values and valuesDisplay attributes.
Character Meaning
_ (Underscore) Digit placeholder.
9 Digit placeholder.
. (Period) Location of mandatory decimal point.
0 Located to left or right of mandatory decimal point; pads with zeros.
( ) Puts parentheses around mask if number is less than 0.
+ Puts plus sign before positive numbers, minus sign before negative numbers.
- Puts space before positive numbers, minus sign before negative numbers.
, (Comma) Separates every third decimal-place with a comma.
L,C Left-justify or center-justify number within width of mask column. First character of
mask must be L or C. Default: right-justified.
$ Puts dollar sign before formatted number. Must be the first character of mask.
^ (Caret) Separates left from right formatting.
Attribute Req/Opt;
Formats
Default Description