Skip to main content

TcxCustomVerticalGrid.FirstRow Method

Returns the first row within the grid.

Declaration

function FirstRow: TcxCustomRow;

Returns

Type
TcxCustomRow

Remarks

Use the FirstRow function to get access to the grid row (i.e. with AbsoluteIndex = 0). Since grid rows can be hidden, you can get access to the first visible row using FirstVisibleRow.

Note

if the vertical grid is empty, the method returns nil, so you should always consider checking the return value against nil before using the object.

See Also