August 2003
Intermediate to advanced
1140 pages
68h 45m
English
cftable
Builds an HTML table from a query result set.
<cftable> [<cfcol>] [<cfcol>] ... </cftable>
query="
query_name"
The name of the query from which to pull the data used to populate the table. Required.
border
Used in conjunction with the htmltable attribute.
Adds a border to the table. Optional.
colheaders="
integer
"
Displays the header for each column as specified in the
header attribute of the cfcol
tag. Optional.
colspacing="
integer
"
The number of spaces to insert between columns in the table.
Optional. The default is 2.
headerlines="
integer
"
Displays headers for each column as specified in the
cfcol tag. Optional.
htmltable
Creates the table as an HTML 3.0 table. Optional.
maxrows="
integer
"
The maximum number of rows to output. Optional.
startrow="
row_number
"
The query row to begin outputting from. Optional.