Use the wGroupExpanded property to check whether a particular group in the given QuantumGrid (TcxGrid) control is expanded.
|TestObj||A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section|
|View||[in]||Optional||Variant||Default value: 0|
The property is applied to the following objects:
To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.
The property has the following parameters:
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.
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.
True if the specified group is expanded and False otherwise.
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
CollapseGroup actions. You can also simulate collapsing and expanding groups by using the
If you use Python or DelphiScript, you should enclose the parameters of the
wGroupExpanded property in square brackets: