O'Reilly logo

Programming ColdFusion MX, 2nd Edition by Rob Brooks-Bilson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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, name must 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 textcolor attribute. bgcolor also supports the expression syntax listed for textcolor. Optional. The default is White. 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, and Center. Optional. The default is Left.

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 header is specified, ColdFusion uses the same value as name.

headeralign=" alignment "

Alignment for the column headers. Valid entries are Left, Right, and Center. Optional. The default is Left.

headerbold="Yes|No"

Whether or ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required