User Guide
188 Chapter 2: ColdFusion Tags
Attributes
Note: In XML format, ColdFusion MX passes all attributes to the XML. The supplied XSLT skins do
not handle or display XML format grids, but do display applet and Flash format grids.
Attribute Req/Opt;
Formats
Default Description
name Required;
All
Name of the grid control.
format Optional;
All
applet • applet: generates a Java applet.
• Flash: generates a Flash grid control.
• xml: generates an XML representation of the
grid.
In XML format forms, includes the generated
XML in the form.
In HTML format forms, puts the XML in a
string variable with the name specified by the
name attribute.
height Optional;
All
300 (applet
only)
Height of the control, in pixels.
If you omit the attribute in Flash format, the grid
sizes automatically..
width Optional;
All
300 (applet
only)
Width of the control, in pixels.
If you omit the attribute in Flash format, the grid
sizes automatically.
query Optional;
All
Name of the query associated with the control.
selectMode Optional;
All
Applet
format:
Browse;
Flash
format: Row
Selection mode for items in the control.
• Edit: user can edit grid data. Selecting a cell
opens the editor for the cell type.
• Row: user selections automatically extend to
the row that contains selected cell.
The following are used in applet format only;
Flash interprets these as Row:
• Single: user selections are limited to selected
cell.
• Column: user selections automatically extend
to column that contains selected cell.
• Browse: user can only browse grid data.
font Optional;
All
Font of text.
fontSize Optional;
All
Size of text, in points.
italic Optional;
All
no • yes: displays text in italics.
• no
bold Optional;
All
no • yes: displays text in bold.
• no