layoutInfo.setSpan(row, col, width, height)

Sets the number of cells (vertically and horizontally) that the specified cell in a Freehand Table should span.

Parameter

row

row index

col

column index

width

Number of horizontal cells to span

height

Number of vertical cells to span

Examples

Example 1. No spanning
setSpan1
Example 2. Span two columns
FreehandTable1.layoutInfo.setSpan(0,0,2,1);

setSpan2

Example 3. Span two rows
FreehandTable1.layoutInfo.setSpan(0,0,1,2);

setSpan3

Either syntax below can be used in component script:

layoutInfo.setSpan                 // unqualified
FreehandTable1.layoutInfo.setSpan  // qualified

For onInit/onRefresh scripts, and for component and property scripts on other components, the second (qualified) form is required.