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

TcxGridBandRows.GetRowIndex(Integer) Method

Returns the index of a visible row containing the specified line.

#Declaration

Delphi
function GetRowIndex(ALineIndex: Integer): Integer;

#Parameters

Name Type
ALineIndex Integer

#Returns

Type
Integer

#Remarks

The GetRowIndex method returns the row index which contains the line specified by the ALineIndex parameter. You can make a row occupy several lines by changing the LineCount property of a column assigned to this row.

If the ALineIndex parameter addresses an invalid line, -1 is returned.

See Also