User Guide
196 Chapter 2: ColdFusion Tags
cfgridcolumn
Description
Used with the cfgrid tag in a cfform. Formats a columns and optionally populates the column
from a query. The font and alignment attributes used in
cfgridcolumn override global font or
alignment settings defined in
cfgrid.
Category
Forms tags
Syntax
<cfgridcolumn
name = "column_name"
header = "header"
width = "column_width"
type = "type"
display = "yes" or "no"
select = "yes" or "no"
font = "column_font"
fontSize = "size"
italic = "yes" or "no"
bold = "yes" or "no"
textColor = "web color" or "expression"
bgColor = "web color" or "expression"
dataAlign = "position"
The following attribute applies to Flash format only
mask= "format mask"
The following attribute applies to applet format only
href = "URL"
hrefKey = "column_name"
target = "URL_target"
headerFont = "font_name"
headerFontSize = "size"
headerItalic = "yes" or "no"
headerBold = "yes" or "no"
headerTextColor = "web color"
headerAlign = "position"
numberFormat = "format"
values = "Comma-separated strings and/or numeric range"
valuesDisplay = "Comma-separated strings and/or numeric range"
valuesDelimiter = "delimiter character">
See also
cfgrid, cfgridrow, cfgridupdate, cfform, cfapplet,
cfinput, cfselect, cfslider,
cftextarea, cftree
History
ColdFusion MX 7: Added the mask attribute, and the currency type attribute value.