Name

CFCOL

Synopsis

<CFTABLE>
  [<CFCOL>]
  [<CFCOL>]
  ...
</CFTABLE>

Used within a CFTABLE block to define the column header, including alignment, width, and text.

Attributes

HEADER=" header_text "

The text to use for the column’s header.

ALIGN=" alignment_position "

The alignment for the HEADER text. Valid entries are: Left, Right, and Center.

WIDTH=" width_in_characters "

The width in characters for the column; a longer heading is truncated. The default width is 20 characters.

TEXT=" text "

The text to display in the column. The TEXT attribute can contain plain text, HTML, and CFML variables.

Get Programming ColdFusion now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.