wGroupCount Property (Specific to DevExpressQuantumGrid Controls)

Applies to TestComplete 14.61, last modified on April 22, 2021

Description

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

Declaration

TestObj.wGroupCount(View)

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

View

Specifies the grid view whose group count you want to get. 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

The total number of groups in the specified grid view.

Remarks

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

Example

To view an example that demonstrates how to use the wGroupCount property, see Expanding and Collapsing Rows in Developer Express QuantumGrid.

See Also

wColumnCount Property (Specific to DevExpressQuantumGrid Controls)
wRowCount Property (Specific to DevExpressQuantumGrid Controls)
wView Property (Specific to Developer Express QuantumGrid Controls)
wViewCount Property (Specific to Developer Express QuantumGrid Controls)
wValue Property (Specific to DevExpressQuantumGrid Controls)

Highlight search results