setRowHeight(row, height)

Create a Freehand Table for more information about Freehand Tables.

Sets the height of the specified Table row in pixels. Row index 0 is the column header row. Setting the height for any body row has the effect of setting the same height for all body rows.

Parameter

row

row index (column header row is index 0)

height

positive integer: row height in pixels
-1 sets automatic height calculation (default)
0 sets zero height (row hidden)

Example

//Set body row height to 30 pixels
TableView1.setRowHeight(1,30);

Either syntax below can be used in component script:

setRowHeight                 // unqualified
TableView1.setRowHeight      // qualified

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