Description
Use the wGroupExpanded
property to check whether a particular group in the grid control is expanded.
Declaration
TestObj.wGroupExpanded(Group)
Read-Only Property | Integer |
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 |
Applies To
The property is applied to the following objects:
AngularUI Grid, Developer Express WPF Grid, Developer Express XtraGrid and 8 more objects, DevExpressXtraGridView, Syncfusion Essential Grid (GridGroupingControl), SyncfusionEssGridView, Telerik RadGridView for Silverlight, Telerik RadGridView for WinForms, Telerik RadGridView for WPF, Xceed Grid, XceedDotNetGridGroup « Collapse the list
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:
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. Index of the last group is wGroupCount
- 1.
Property Value
True, if the specified group is expanded and False otherwise.
If the specified group is not found, the property will return False as well and post an error message to the test log.
Remarks
If you use Python or DelphiScript, you should enclose the parameter of the wGroupExpanded
property in square brackets: wGroupExpanded[Group]
.
To expand and collapse grid groups, use the ExpandGroup
and CollapseGroup
actions.
See Also
wGroupExpanded Property (Specific to DevExpressQuantumGrid Controls)
CollapseGroup Action (Grid Controls)
ExpandGroup Action (Grid Controls)