wChildView Property (Grid Controls)

Applies to TestComplete 15.70, last modified on December 17, 2024

Description

Grid controls can display data of multiple nested tables. The data of each child table as well as the parent table is displayed in a separate view. Each expandable row has one or more child views, which are displayed when this row is expanded. The property lets to obtain a child view for the particular row item.

Declaration

TestObj.wChildView(Row, View)

Read-Only Property An InfragisticsWinGridView, DevExpressXtraGridView, SyncfusionEssGridView or XceedDotNetGrid object
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    
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 parameters:

Row

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

View

Specifies the zero-based index of the desired child view. When accessing view corresponding to grid table, you can specify the desired child view by its 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.

Property Value

An InfragisticsWinGridView , DevExpressXtraGridView, SyncfusionEssGridView or XceedDotNetGridView object that corresponds to the specified child view.

Remarks

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

See Also

wChildView Property (Specific to Infragistics XamDataGrid, Infragistics WebDataGrid and Telerik RadGridView for WinForms Controls)
wChildViewCount Property (Grid Controls)
wColumn Property (Grid Controls)
wColumnCount Property (Grid Controls)
wRowCount Property (Grid Controls)
wValue Property (Grid Controls)
wViewName (Grid Controls)

Highlight search results