wColumn Property (Specific to Developer Express QuantumGrid Controls)

Applies to TestComplete 15.0, last modified on October 14, 2021

Description

Use the DevExpressQuantumGridLevel.wColumn property to get the caption of a certain QuantumGrid (TcxGrid) column by its index.

Declaration

TestObj.wColumn(Index, View)

Read-Only Property String
TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section
Index [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:

Index

The zero-based index of the grid column whose caption you want to get. Note that this parameter takes the column’s position within the grid’s internal column collection rather than the column’s visible position in the grid (in general, these positions can differ).

View

Specifies the grid view that contains the column. 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

A string holding the caption of the specified column.

Remarks

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

Example

To view an example that demonstrates how to use the wColumn property, see Iterating Through 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