User Guide

cfgrid 153
deleteButton = "text"
sortAscendingButton = "text"
sortDescendingButton = "text">
</cfgrid>
See also
cfgridcolumn, cfgridrow, cfgridupdate, cfapplet, cfform, cfinput, cfselect,
cfslider, cftextinput, cftree, cftreeitem
History
ColdFusion MX: Changed the rowHeaderWidth attribute: ColdFusion does not use the
rowHeaderWidth attribute. You can omit it.
Attributes
Attribute Req/Opt Default Description
name Required Name of grid element.
height Optional 300 Height of grid control, in pixels.
width Optional 300 Width of grid control, in pixels.
autoWidth Optional;
see
description
No Yes: sets column widths so that all columns
display within grid width.
No: sets columns to equal widths. User can
resize columns. Horizontal scroll bars are not
available, because if you specify a column
width and set
autoWidth = "Yes", ColdFusion
sets to this width, if possible.
vSpace Optional Vertical space above and below grid control, in
pixels.
hSpace Optional Horizontal space to left and right of grid control,
in pixels.
align Optional Alignment of the grid cell contents:
Top
Left
Bottom
Baseline
Texttop
Absbottom
Middle
Absmiddle
Right
query Optional Name of query associated with grid control.
insert Optional No Yes: user can insert row data in grid. Takes
effect only if
selectmode="edit"
No
delete Optional No Yes: user can delete row data from grid. Takes
effect only if
selectmode="edit"
No