Tags · Functions · Objects
Lucee Tag Reference
Choose a tag:

Tag <CFCOL>

Defines table column header, width, alignment, and text. Used only inside a cftable.

Body

This tag can't have a body.

Example

	<cfcol
		[align="string"]
		header="string"
		[text="string"]
		[width="number"]>
	

Attributes

The attributes for this tag are fixed. Except for the following attributes no other attributes are allowed.
Name Type Required Description
align string No Column alignment, Left, Right, or Center. 
header string Yes The text for the column's header. 
text string No Double-quote delimited text that determines what displays in the column. The rules for the text
attribute are identical to the rules for cfoutput sections; it can consist of a combination of
literal text, HTML tags, and query record set field references. You can embed hyperlinks, image
references, and input controls in columns. 
width number No The width of the column in characters (the default is 20). If the length of the data displayed exceeds the width value,
the data is truncated to fit.