Chapter 1: ColdFusion Tags
CFGRIDCOLUMN
Used with
column data in a CFGRID control. Font and alignment attributes used in
CFGRIDCOLUMN override any global font or alignment settings defined in CFGRID.
Syntax
<CFGRIDCOLUMN NAME="column_name"
HEADER="header"
WIDTH="column_width"
FONT="column_font"
FONTSIZE="size"
ITALIC="Yes/No"
BOLD="Yes/No"
HREF="URL"
HREFKEY="column_name"
TARGET="URL_target"
SELECT="Yes/No"
DISPLAY="Yes/No"
TYPE="type"
HEADERFONT"font_name"
HEADERFONTSIZE="size"
HEADERITALIC="Yes/No"
HEADERBOLD="Yes/No"
DATAALIGN="position"
HEADERALIGN="position"
NUMBERFORMAT="format">
NAME
Required. A name for the grid column element. If the grid uses a query, the
column name must specify the name of a query column.
HEADER
Optional. Text for the column header. The value of HEADER is used only when the
CFGRID COLHEADERS attribute is Yes (or omitted, since it defaults to Yes).
WIDTH
Optional. The width of the column in pixels. By default the column is sized based
on the longest column value.
FONT
Optional. Font name to use for data in the column. Defaults to browser-specified
font.
FONTSIZE
Optional. Font size for text in the column. Defaults to browser-specified font size.
ITALIC
Optional. Yes or No. Yes presents text in the column in italic. Default is No.
CFGRID
in a CFFORM, you use CFGRIDCOLUMN to specify individual
81
Need help?
Do you have a question about the COLDFUSION 4.5-CFML LANGUAGE and is the answer not in the manual?
Questions and answers