O'Reilly logo

Programming ColdFusion 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.

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.

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 form TEXTCOLOR="##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. ...

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