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
Example 2. Span two columns
FreehandTable1.layoutInfo.setSpan(0,0,2,1);

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

|
Either syntax below can be used in component script:
For onInit/onRefresh scripts, and for component and property scripts on other components, the second (qualified) form is required. |