The CFGRID tag provides a Java-based grid control for displaying and editing tabular data. CFGRID allows you to display data sets in a familiar spreadsheet format that makes scrolling through and updating multiple records easy. A sample CFGRID control for displaying data can be seen in Figure 10-4.
Example 10-9 queries a database and subsequently populates a CFGRID control with the record set data.
<CFGRID NAME="MyGrid" WIDTH="600" HEIGHT="250" QUERY="GetPeople"