wRowCount Property (Specific to DevExpressQuantumGrid Controls)

Applies to TestComplete 15.31, last modified on March 17, 2022

Description

Use the wRowCount property to get the number of data rows (cards) in the specified grid view.

Declaration

TestObj.wRowCount(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

This property is available in the Object Browser panel and in other panels and dialogs in both Basic and Advanced view modes.

Parameters

The property has the following parameter:

View

Specifies the grid view whose row (card) 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 data rows (cards) in the specified view.

Remarks

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

If the data displayed by the QuantumGrid (TcxGrid) control is grouped by one or several columns, data rows can be hidden under collapsed groups. The wRowCount property returns the number of all data rows in the specified grid view, no matter whether they are currently visible or hidden. The returned value does not include group rows.

You can use the wRowCount property along with wColumnCount and wValue to iterate through object cells.

Example

To view an example that demonstrates how to use the wRowCount property, see Iterating Through Rows in Developer Express QuantumGrid.

See Also

wColumnCount Property (Specific to DevExpressQuantumGrid Controls)
wGroupCount 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