wGroupCount Property (Grid Controls)

Applies to TestComplete 15.47, last modified on January 20, 2023
This property is not supported in web tests (including cross-platform web tests) that use XPath expressions and CSS selectors to locate web elements. This property can be only used in tests that locate web objects by using internal identification properties provided by TestComplete.

Description

Use the wGroupCount property to get the number of groups in the given grid view.

Declaration

TestObj.wGroupCount

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

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.

Property Value

The total number of child groups in the given grid table or group.

Remarks

SyncfusionEssGrid: If data of a particular GridGroupingControl table is grouped by several columns, nested groups can be hidden under their collapsed parent groups. The wGroupCount property returns the number of child groups in the given table or group, whether they are currently visible or hidden.

See Also

wGroupCount Property (Specific to DevExpressQuantumGrid Controls)
wChildView Property (Grid Controls)
wChildViewCount Property (Grid Controls)
wColumnCount Property (Grid Controls)
wRowCount Property (Grid Controls)

Highlight search results