CFGRIDROW

CFGRIDROW allows you to 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.

Syntax

<CFGRIDROW DATA="col1, col2, ...">

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.

Example

...

<!--- 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>