TcxGridBandRows.GetRowIndex(Integer) Method
Returns the index of a visible row containing the specified line.
Declaration
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