setRowHeadingAlign

Class: ModelAdvisor.Table
Package: ModelAdvisor

Specify table row title alignment

Syntax

setRowHeadingAlign(table, row, alignment)

Description

setRowHeadingAlign(table, row, alignment) specifies the alignment for the designated table row.

Input Arguments

table

Instantiation of the ModelAdvisor.Table class

row

An integer specifying row number.

alignment

A string specifying the cell alignment. Possible values are:

  • left (default)

  • right

  • center

Examples

table1 = ModelAdvisor.Table(2, 3);
setRowHeading(table1, 1, 'Row 1 Title');
setRowHeadingAlign(table1, 1, 'center');
setRowHeading(table1, 2, 'Row 2 Title');
setRowHeadingAlign(table1, 2, 'center');
Was this topic helpful?