Name
cfgrid
Synopsis
<cfform>
<cfgrid>
[<cfgridcolumn>]
[<cfgridrow>]
...
</cfgrid>
...
</cfform>
Provides
a Java-based grid control for displaying and editing tabular data.
Used within a cfform block.
Attributes
-
name="name" The form-field name for the grid control. Required.
-
align="alignment" Alignment for the grid control. Valid entries are
Left,Right,Top,TextTop,Bottom,AbsBottom,Baseline,Middle, andAbsMiddle. Optional.-
appendkey="Yes|No" Whether or not to pass the
cfgridkeyvariable along with the value of the selected grid item in the URL to the template specified in thecfformtag. Optional. The default isYes.-
autowidth="Yes|No" Whether or not the grid should adjust the width of each column automatically so that all columns appear within the grid without having to scroll horizontally. Optional. The default is
No. New as of ColdFusion 5.0.-
bgcolor="color" Background color for the grid control. For color choices, see the
textcolorattribute. Optional. The default isWhite.-
bold="Yes|No" If
Yes, displays all grid data in bold. Optional. The default isNo.-
colheaders="Yes|No" Whether or not to display column headers on the grid. Optional. The default is
Yes.-
colheaderalign="alignment" Alignment for the column headers. Valid entries are
Left,Right, andCenter. Optional. The default isLeft.-
colheaderbold="Yes|No" Whether or not to display the column header text in bold. Optional. The default is
No.-
colheaderfont="font_name" The font to use for the column ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access