Skip to main content

TcxCustomVerticalGrid.NextRow(TcxCustomRow) Method

Returns the next row after the one specified.

Declaration

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