Use the Grid part to arrange the information on your page in a tabular format. The Grid part generates the HTML element table. After you have added an Grid part to your page, you can modify it to add or remove rows or columns, and you can place other Web Connection parts inside the cells of the grid.
Note: | The Table part also generates HTML table elements. However, Table is intended specifically for presenting the results of database queries, while Grid is intended for page layout. |
To add a Grid part, select the Web Connection Category (
), then the Grid part (
). You can also add the part using the Add Part dialog and specifying
the class name, AbtHtmlGrid.
The Grid part has the following properties:
In addition, you can specify an alignment by typing the appropriate string directly into the field. Do this if you want to specify a special alignment supported by your browser but not directly supported by VisualAge. VisualAge will use the specified alignment string when generating HTML at run time, but will use its default alignment at edit time.
This property is equivalent to the align attribute of the appropriate HTML element.
In addition, you can specify other alignments supported by your browser by typing the appropriate string directly into the field.
This property is equivalent to the align attribute of the HTML td tag.
In addition, you can specify other alignments supported by your browser by typing the appropriate string directly into the field.
This property is equivalent to the valign attribute of the HTML td tag.
This property is equivalent to the cellpadding attribute of the HTML table element.
This property is equivalent to the cellspacing attribute of the HTML table tag.
The name of the part can consist of alphanumeric characters, and must be unique from all other parts on the layout surface.
This field is optional. If you do not specify a part name, VisualAge generates a unique name based on the class name of the part.