External Interfaces > RealWeb > RealWeb API > Tables > RWA_MAKE_TABLE

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

RealityV15.1Online Documentation (MoTW) Revision 7

RWA_MAKE_TABLE (RealWeb) (rwa_make_table.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

RWA_MAKE_TABLE


Purpose

Creates and populates a table. Appends the generated code to a string.

Syntax

RWA_MAKE_TABLE(vString, aHeadings, aData, aDataFormat, aClass, Control)

Parameters

vString A variable containing the string to which the generated code is appended. On return, the variable contains the modified string. If the string does not exist, it is created.

aHeadings A dynamic arrayClosed in which each element is a column heading for the table.

aData A dynamic arrayClosed of cell values for multiple rows of the table. Rows are separated by attribute marks, individual cells within a row are separated by value marks.

aDataFormat A dynamic arrayClosed in which each element specifies a tag class, defined in a CSSClosed stylesheet, to be applied to the corresponding column of the table. The styles are not applied to the header row.

Note: If required, additional formatting can be applied to a column by replacing the CSS class name with a list of parameters in the same format as in the aClass parameter of the RWS_TABLE_DATA routine. Note, however, that you must use value marks instead of attribute marks to separate these parameters.

aClass A dynamic arrayClosed of parameters that can alter the appearance of the table.

Element No. Attribute Description
1 CLASS The name of a tag class defined in a CSSClosed stylesheet.

Attributes defined in the aClass parameter are applied to the TABLE tag.

For information about using aClass, see The aClass Parameter.

Control Specifies how the table should be populated as follows:

RWD_ALL_ROWS or an empty string
The table will include all table rows.

RWD_IGNORE_EMPTY_ROWS
The table will ignore empty rows.

RealityV15.1 (MoTW) Revision 7Comment on this topic