Table
Use the Table part to present data from a database query in tabular format, in a series of columns with each item occupying a row. This part generates the HTML element table.
Note:
The Table part is used in conjunction with the VA Smalltalk Database Query part to present the results of database queries. If you want to use table tagging to control the layout of the elements on your page, use the Grid part.
To add a Table part, select the Web Connection Category ( Web Connection Category), then the Table part ( Table icon). You can also add the part using the Add Part dialog and specifying the class name, AbtHtmlTable.
Table Properties
The Table part has the following properties:
columns
items
border
Use the border property to specify how wide the border around the object should appear. For no border, leave the field blank or specify 0 (zero) for the border.
cellPadding
Use the cellPadding property to specify the amount of space you want to appear around the data in the cells.
This property is equivalent to the cellpadding attribute of the HTML table element.
cellSpacing
Use the cellSpacing property to specify the amount of space around the cells themselves.
This property is equivalent to the cellspacing attribute of the HTML table tag.
columns
Use the columns property to define the properties of the columns in the table. You can define these properties either by editing the columns property of the Table part, or by opening the Settings for the TableColumn part. The list of properties is the same. Using the columns property for the Table part helps you see all of the properties for all of the columns in the table at one time.
drawBorder
Use the drawBorder property to indicate whether you want visible borders around the table cells.
This property is equivalent to the border attribute of the HTML table element.
eventHandlers
Use the eventHandlers property to define any event handlers for this part. Event handlers provide the ability to detect and react to events that occur while an HtmlPage is loaded in a Web browser. An example of an event handler is mouse over, where you can specify when the mouse moves over an HTML element, something happens, usually a JavaScript is executed..
extraAttributes
Use the extraAttributes property to specify any additional HTML attributes that you want included in the HTML tagging generated by the part. You can use this property to include HTML attributes that are not directly supported by VA Smalltalk.
items
Use the items to specify the initial items you want displayed by the part when it appears.
partName
In the Part name field, type the name you want to use to describe the part. For non-visual parts, this text appears under the icon for the part on the free-form surface.
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, VA Smalltalk generates a unique name based on the class name of the part.
Last modified date: 06/24/2018