wChildViewCount Property (Grid Controls)

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

Description

Grid controls can display data of multiple nested tables. Each level can display data of one or more tables, and the data of each table are displayed in a separate view. Each expandable row has one or several child items, which are displayed when the row is expanded. The property returns the number of child views of the specified grid row.

Declaration

TestObj.wChildViewCount(Row)

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
Row [in]    Required    Integer    

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:

Row

The index of the row whose child view count you want to get. The index is zero-based and corresponds to the row's position within the object's internal row collection rather than to the row's visible position in the object.

Property Value

The number of child views of the specified row.

Remarks

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

See Also

wChildView Property (Grid Controls)
wColumnCount Property (Grid Controls)
wRowCount Property (Grid Controls)
wValue Property (Grid Controls)
wViewName (Grid Controls)

Highlight search results