Element table

LANSA Integrator

Element - table

The table element is used to add a table to the current page.

The working list argument is used to create the rows of table data.

Syntax:

Element

Attributes

Value

Notes for Element/Attribute/Value

table

x1

integer

Default. 0.

y1

integer

Default. 0.

width

integer

Default. 0.

height

integer

Default. 0.

minimum-height

integer

Default. 0.

fill

boolean

Default. false.
Conditional. Requires height attribute.
Use minimum-height to control height of empty rows.

style

style

Default. Helvetica, 10, normal

alternate

boolean

Default. false.

alternate-color

color

 

title-show

boolean

Default. true.

title-border-color

color

 

title-minimum-height

integer

Default. 0.

border

boolean

Default. true.

border-color

color

 

cell-border

boolean

Default. true.

 

cell-border-color

color

 

 

Example

 

<table x1="20" y1="500" width="400" height="300" style="normal" alternate="true">

   <column field="FIELD1" width-percentage="20" title="First Name"/>

   <column field="FIELD2" width-percentage="20" title="Surname&#xA;Family Name"/>

</table>