Attribute
|
Function
|
name
|
Specify the name of the dataslot.
|
columnNames
|
By default, table header is generated by the names of the database table fields. The columnNames attribute includes a comma-separated list of alternative (human-readable) values, to be used in the table header. Some of the column names can be left empty-this means that the corresponding column is not displayed. For example, assuming that a DB query returns a result set with three fields, COL1, COL2¸ and COL3, setting the columnNames attribute to columnNames = "Column 1, ,Column 3" display only the first and third column, and changes the names displayed in the header from COL1 and COL3 to Column 1 and Column 3.
|
startFrom maxRows
|
In case the result set contains a large number of records, these two tags allow you to display only a portion of this result set. With the startFrom attribute you can set the first row to be displayed (starting from 1), while the maxRows attribute limits the maximum number or rows that the table contains. All rows, outside of the section defined with the startFrom and maxRows attributes, are not displayed.
|
headerTags bodyTags
|
Tags for controlling the appearance of the data in the cells of the table header and body. Each of these attributes contain a comma-separated list of tag names that are placed in pairs around each value in the header and body. For example, headerTags="B,I" generates the following in each cell of the table header:
<B><I>header data</I></B>
|
tableOptions headerOptions bodyOptions altBodyOptions header FontOptions bodyFontOptions columnOptions
|
Additional attributes for modifying the table style. Use standard HTML options for the values of each of these attributes. For example: headerOptions = "bgcolor=red" changes the background color of the table header to "red". Consult the HTML specification for more information.
|