Skip to main content

TcxCustomVerticalGrid.RowByCaption(string) Method

Retrieves a row by its caption.

Declaration

function RowByCaption(const ACaption: string): TcxCustomRow;

Parameters

Name Type
ACaption string

Returns

Type
TcxCustomRow

Remarks

The RowByCaption method retrieves a grid row by its caption.

The ACaption parameter specifies the caption (see Caption) of the desired row.

Note

if the grid does not contain a row with this caption, the method returns nil.

Alternatively, you can use the RowByName method to get a grid row by its name.

See Also