PRIM_PDF.AutoTable - AddRow Method

Adds a row to the table

Member of PRIM_PDF.AutoTable (PRIM_PDF.AutoTable)

Parameters

Name

Type

Data Type

Description

Row

*Input

PRIM_PDF.AutoTableRow

The AutoTable row

Details

Adds a row to the table.

Example

Add row to table

     Define_Com Class(#PRIM_PDF.AutoTable) Name(#Table) Reference(*DYNAMIC) Theme(Striped) Columncount(3)
Define_Com Class(#PRIM_PDF.AutoTableRow) Name(#Row) Reference(*DYNAMIC)

* Create row
#Row <= #Table.CreateRow

* Add cells to row (must match table column count)
#Row.addCell Value(#xContactLastName)
#Row.addCell Value(#xContactFirstName)
#Row.addCell Value(#xContactMobilePhone)

* Add row to table
#Table.AddRow Row(#Row)

See also

All Component Classes

Technical Reference

  • No labels