PRIM_PDF.AutoTable - AddColumn Method

Adds a column to the table

Member of PRIM_PDF.AutoTable (PRIM_PDF.AutoTable)

Parameters

NameTypeData TypeDescription
Column*InputPRIM_PDF.AutoTableColumnThe AutoTable column

Details

Adds a column to the table.

Example

Add a column to the table
Define_Com Class(#PRIM_PDF.AutoTable) Name(#Table) Reference(*DYNAMIC) Theme(Striped) Columncount(3)
Define_Com Class(#PRIM_PDF.AutoTableColumn) Name(#CellPhoneCol) Reference(*DYNAMIC)
 
* Create and set table column properties
#CellPhoneCol <= #Table.CreateColumn
#CellPhoneCol.HeadCaption := 'Cell Phone'
#CellPhoneCol.HeadHAlign := Center
#CellPhoneCol.HAlign := Center
#Table.AddColumn Column(#CellPhoneCol)

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020