Creating Data Grids with cfgrid
Specifying the tree item in the URL
When a user clicks on a tree item to link to a URL the
identifies the selected value, is appended to the URL in the form:
http://myserver.com?cftreeitemkey =selected_value
Automatically passing the name of the selected tree item as part of the URL makes it
easy to implement a basic "drill down" application that displays additional
information based on the selection. For example, if the specified URL is another
CFML page, it can access the selected value as the variable
You can disable this behavior by setting the
No.
Creating Data Grids with cfgrid
The
spreadsheet table and can contain data populated from a
sources of data. As with other
formatting options as well as the option of validating user selections with a
JavaScript validation script.
You can also do the following with
Users can sort the grid entries in ascending order by double-clicking any column
header. Double-clicking again sorts the grid in descending order. You can also add
sort buttons to the grid control.
When users select grid data and submit the form, ColdFusion passes the selection
information as form variables to the application page specified in the
attribute.
Just as the
define a wide range of row and column formatting options, as well as a column
name, data type, selection options, and so on. You use the
define individual columns in the grid or associate a query column with a grid
column.
The
This document can only cover the most important of these. For detailed information
on these attributes, see the
tag to creates a
cfgrid
Sort data in the grid alphanumerically
Update, insert, and delete data
Display images in the grid
tag uses
cftree
tag provides many attributes that control grid behavior and appearance.
cfgrid
appendkey
grid control. A grid control resembles a
cfform
tags,
cfform
cfgrid
:
cfgrid
,
cftreeitem
cfgrid
CFML Reference.
cftreeItemKey
URL.cfteeitemkey
attribute in the
or from other
cfquery
offers a wide range of data
uses the
cfgridcolumn
cfgridcolumn
153
variable, which
.
tag to
cftree
cfform action
tag. You can
tag to
Need help?
Do you have a question about the COLDFUSION 5-DEVELOPING and is the answer not in the manual?
Questions and answers