Understanding <CFGRID>
Like <CFTREE>, <CFGRID> is a form tag that goes well beyond what you'd probably expect from a form. Although it can be used to collect user data just like a text input box, its main strength lies in the fact that it can display complex tabular data in a spreadsheet format. Take a look at Figure 12.8 to get a feel for this tag.
Figure 12.8. A <CFGRID> displaying a database table.
<CFGRID> uses JavaScript behind the scenes to display your table data in much the same way that it appears in a database application. It might not be such a useful tool for displaying a database of Elvis flicks, but consider situations in which you ...
Get Sams Teach Yourself ColdFusion® in 21 Days now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.