wGroupExpanded Property (Specific to DevExpressQuantumGrid Controls)

Applies to TestComplete 14.92, last modified on September 16, 2021

Description

Use the wGroupExpanded property to check whether a particular group in the given QuantumGrid (TcxGrid) control is expanded.

Declaration

TestObj.wGroupExpanded(Group, View)

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
Group [in]    Required    Integer    
View [in]    Optional    Variant Default value: 0   

Applies To

The property is applied to the following objects:

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 parameters:

Group

Specifies the index of the desired group. The index is zero-based, that is, the first group has index 0, the second - 1, and so on. The index of the last row is wGroupCount - 1.

View

Specifies the grid view that contains the group. You can enter the view’s zero-based index or caption.

The caption can contain asterisk (*) or question mark (?) wildcards or regular expressions. The asterisk corresponds to a string of any length (including an empty string), the question mark corresponds to any single character (including none). To specify more complicated parts of a caption, use regular expressions.

The caption can be case-sensitive or case-insensitive depending on the value of the Use case-sensitive parameters project setting.

The default value of the View parameter is 0 and it corresponds to the leftmost view of the current grid level.

Property Value

True if the specified group is expanded and False otherwise.

Remarks

If the specified group is not found, the property returns False as well and posts an error message to the test log.

To expand and collapse groups in the QuantumGrid (TcxGrid) control, use the ExpandGroup and CollapseGroup actions. You can also simulate collapsing and expanding groups by using the Click and DblClick actions.

If you use Python or DelphiScript, you should enclose the parameters of the wGroupExpanded property in square brackets: wGroupExpanded[Group, View].

See Also

Expanding and Collapsing Rows in Developer Express QuantumGrid
CollapseGroup Action (Specific to DevExpressQuantumGrid Controls)
ExpandGroup Action (Specific to DevExpressQuantumGrid Controls)

Highlight search results