Name
CFGRIDCOLUMN
Synopsis
<CFGRID> [<CFGRIDCOLUMN>] [<CFGRIDROW>] ... </CFGRID>
Specifies individual column data and formatting information within a
CFGRID. Values specified for a
CFGRIDCOLUMN override any attributes set in the
CFGRID tag.
Attributes
-
NAME="column_name" A name for the grid column. If the grid column is populated by a query,
NAMEmust be the name of an available query column. Required.-
HEADER="header" The text to use for the column’s header. Optional. If no value for
HEADERis specified, ColdFusion uses the same value asNAME.-
WIDTH="width_in_pixels" The width of the column in pixels. Optional. The default column width is determined by the longest column value.
-
FONT="font_name" The font name for the data in the column. Optional.
-
FONTSIZE="integer" The font size for the data in the column. Optional.
-
ITALIC="Yes|No" Whether or not to display the column data in italic. Optional. The default is
No.-
BOLD="Yes|No" Whether or not to display the column data in bold. Optional. The default is
No.-
TEXTCOLOR="color|expression" The text color for all data in the grid. Colors may be specified by name (
Black,Blue,Cyan,Darkgray,Gray,Lightgray,Magenta,Orange,Pink,Red,White,Yellow) or hex code in the formTEXTCOLOR="##FFFFCC". The double pound signs are necessary to keep ColdFusion from throwing a syntax error, or you may omit the pound signs altogether. By using the appropriate hex code, you may specify colors that can’t be specified by name. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access