shrink

Table Properties to set the property without using script.

Reduces the height of the Table to match the number of records displayed. For example, if the original Table height (as designed) was 10 rows, and the user then makes filter selections that restrict the result set to five rows, the Table’s bottom border will retract upward or “shrink” to eliminate any empty rows at the bottom of the Table.

Type

Boolean

true: shrink Table to fit contents
false: do not shrink Table

Example

TableView1.shrink = true;

Either syntax below can be used in component script:

shrink                 // unqualified
TableView1.shrink      // qualified

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