MACROMEDIA COLDFUSION MX 61-DEVELOPING COLDFUSION MX Develop Manual page 598

Developing coldfusion mx applications
Table of Contents

Advertisement

Reviewing the code
The following table describes the highlighted code and its function:
Code
<cfgrid name="employee_grid"
query="empdata"
selectmode="single">
<cfgridcolumn name="Emp_ID">
<cfgridcolumn name="LastName">
<cfgridcolumn name="Dept_ID">
598
Chapter 27: Building Dynamic Forms
Description
Create a grid named "employee_grid" and populate it with the
results of the query "empdata".
If you specify a
cfgrid
no corresponding
cfgridcolumn
all the columns in the query.
Allow the user to select only one cell. Other modes are row,
column, and edit.
Put the contents of the Emp_ID column in the query results in
the first column of the grid.
Put the contents of the LastName column in the query results
in the second column of the grid.
Put the contents of the Dept_ID column in the query results in
the third column of the grid.
tag with a
attribute defined and
query
attributes, the grid contains

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COLDFUSION MX 61-DEVELOPING COLDFUSION MX and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Coldfusion mx

Table of Contents