Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomVerticalGrid.FirstRow Method

Returns the first row within the grid.

#Declaration

Delphi
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