Element column

LANSA Integrator

Element - column

The child column element is used to describe the table columns.

Syntax:

Element

Attributes

Value

Notes for Element/Attribute/Value

column

title

string

 

title-style

style

 

title-vertical-align

top

 

middle

Default.

bottom

 

title-horizontal-align

left

 

center

Default.

right

 

title-border

boolean

Default. true.

column-type

text

Default.

image

 

barcode

 

style

style

Default. Table element style.

width-percentage

integer

Default. 10.

vertical-align

top

 

middle

Default.

bottom

 

horizontal-align

left

 

center

Default.

right

 

border

boolean

Default. true.

alternate

boolean

Default. true.

alt-text

string

 

alt-text-field

field

Name of list field.

type

barcode

Default. CODE128.

start

string

Default. A.

stop

string

Default. B.

start-stop

boolean

Default. true.

scale

integer

Default. 110.

rotation

integer

Default. 0.

field

field

Name of list field.

date-format

string

Date and Time Formats.

decimal-format

string

Decimal Formats.

substitute-newline

boolean

Substitute \n with a newline character.
Default. false.

padding

string

Cell padding.
Comma separted left,right,top,bottom values or a single value for all sides.

value

string

 

 

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>