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

TdxSpreadSheetTableItems.GetNextVisibleItemIndex(Integer,Boolean) Method

Returns the index of the visible table item that is nearest to the specified table item within the table item collection.

#Declaration

Delphi
function GetNextVisibleItemIndex(AIndex: Integer; AGoForward: Boolean): Integer; overload;

#Parameters

Name Type
AIndex Integer
AGoForward Boolean

#Returns

Type
Integer

#Remarks

Call this function to obtain the index of the visible table items that are nearest to the inspected table item whose zero-based index is specified as the AIndex parameter.

Pass True as the AGoForward parameter to search for the nearest visible table item with greater index values than the inspected table item has (AIndex). Otherwise, the GetNextVisibleItemIndex function searches for the nearest visible table item with lesser or greater index values.

See Also