Skip to main content
Table of Contents

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

FMX.TMSFNCDataGridRenderer.hppPascalC++
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.