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.-
bgcolor="color|expression" A background color for all the cells in the column or an expression that returns a color based on its evaluation. For color choices, see the
textcolorattribute.bgcoloralso supports the expression syntax listed fortextcolor. Optional. The default isWhite. New as of ColdFusion 5.0.-
bold="Yes|No" Whether or not to display the column data in bold. Optional. The default is
No.-
dataalign="alignment" Alignment for the column data. Valid entries are
Left,Right, andCenter. Optional. The default isLeft.-
display="Yes|No" Whether or not to display the column in the grid. Optional. The default is
Yes.-
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.
-
header="header" The text to use for the column’s header. Optional. If no value for
headeris specified, ColdFusion uses the same value asname.-
headeralign="alignment" Alignment for the column headers. Valid entries are
Left,Right, andCenter. Optional. The default isLeft.-
headerbold="Yes|No" Whether or ...
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