setEntry

Class: ModelAdvisor.Table
Package: ModelAdvisor

Add cell to table

Syntax

setEntry(table, row, column, string)
setEntry(table, row, column, content)

Description

setEntry(table, row, column, string) adds a string to a cell in a table.

setEntry(table, row, column, content) adds an object specified by content to a cell in a table.

Input Arguments

table

Instantiation of the ModelAdvisor.Table class

row

An integer specifying the row

column

An integer specifying the column

string

A string representing the contents of the entry

content

An element object or object array specifying the content of the table entries

Examples

Create two tables and insert table2 into the first cell of table1:

table1 = ModelAdvisor.Table(1, 1);
table2 = ModelAdvisor.Table(2, 3);
.
.
.
setEntry(table1, 1, 1, table2);
Was this topic helpful?