Summary

Building readable, easy-to-navigate pages is a big part of successful Web design, and it's just as important when creating ColdFusion templates. CF has several features that enable you to format query output to your liking, including tabulated data and organizational tools such as grouping and sorting.

<CFTABLE> provides a quick way to turn queried data into a table. It's designed to replace the <CFOUTPUT> tag in your templates, and requires only a few parameters to display a basic table. It has a limited feature set, however, so if you need advanced table properties, it's best to work with standard HTML tables and populate the cells with <CFOUTPUT>.

Grouping data is another output tool designed to make your application easier to navigate. ...

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.