Description
Use this property to determine whether the specified row is expandable.
Declaration
TestObj.wExpandable(Row)
Read-Only Property | Boolean |
TestObj | A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section | |||
Row | [in] | Required | Integer |
Applies To
The property is applied to the following object:
View Mode
To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.
Parameters
The property has the following parameter:
Row
Specifies the index of the desired row. The index is zero-based and it corresponds to the row's position within the object's internal row collection rather than to the row's visible position in the object.
Property Value
Returns True
if the row is expandable. Returns False
otherwise.
Remarks
If the specified row is not found, the property returns False
and posts an error message to the test log.
To expand and collapse grid rows, use the Expand
and Collapse
actions. You can also simulate collapsing and expanding grid rows by using the Click
and DblClick
actions.
If you use Python or DelphiScript, you should enclose the parameter of the wExpandable
property in square brackets: wExpandable[Row]
.
See Also
wExpanded Property (Grid Controls)
Collapse Action (Grid Controls)
Expand Action (Grid Controls)