Lets you define a cfgrid that does not use a query as source for row data. If a query attribute is specified in cfgrid, the cfgridrow tags are ignored.
<cfgridrow data = "col1, col2, ...">
cfapplet, cfform, cfinput, cfselect, cfslider, cftextinput, cftree, cfgrid, cfgridcolumn, cfgridupdate
| Attribute |
Description |
|---|---|
| data |
Required. A comma-separated list of column values. If a column value contains a comma character, it must be escaped with a second comma character. |
...
<!--- use a cfloop to loop through the query and define cfgridrow
data each time through the loop --->
<cfloop query = "GetCourses">
<cfgridrow
data = "#Course_ID#,#Dept_ID#,#CorNumber#,#CorName#,
#CorLevel#,#CorDesc#">
</cfloop>
</cfgrid>
</cfform>
</body>
</html>