TTMSFNCDataGridFixedColumnCellDisplayList.GetItemForCell Method
Returns the display-list item that matches the specified cell coordinate, or nil when the list does not contain it.
API unit family: TMSFNCDataGridRenderer
Declaring type: TTMSFNCDataGridFixedColumnCellDisplayList
Inherited from: TTMSFNCDataGridDisplayList
Syntax
function GetItemForCell(ACell: TTMSFNCDataGridCellCoord): TTMSFNCDataGridCell;
TTMSFNCDataGridCell* __fastcall GetItemForCell(const TTMSFNCDataGridCellCoord &ACell);
Remarks
Performs a linear scan. The returned cell is not owned by the display list and must not be freed.
Parameters
| Name | Description |
|---|---|
ACell |
Cell coordinate (column and row) to look up. |
Returns
The matching display-list cell, or nil if the cell is not currently displayed.