<cfgridrow data = "col1, col2, ...">

Description

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.

Category

Forms tags

See also

cfapplet, cfform, cfinput, cfselect, cfslider, cftextinput, cftree, cfgrid, cfgridcolumn, cfgridupdate

Attributes

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.

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>