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