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.NextRow(TcxCustomRow) Method

Returns the next row after the one specified.

#Declaration

Delphi
function NextRow(ARow: TcxCustomRow): TcxCustomRow;

#Parameters

Name Type
ARow TcxCustomRow

#Returns

Type
TcxCustomRow

#Remarks

The ARow parameter specifies the grid row before the one required.

Note

if the row specified by ARow is the last within the collection, the method returns nil. You should always check the return value against nil before using the object returned. If the ARow parameter value is nil, then this method returns the FirstRow.

The method can be useful when it is necessary to iterate through the collection of rows within the control regardless of their visibility. Additionally, you can get the next visible row using the NextVisibleRow method.

See Also