Skip to main content
Table of Contents

TTMSFNCDataGridRenderer.OnCellClick Event

Fired when the user clicks a cell (single click).

API unit family: TMSFNCDataGridRenderer Declaring type: TTMSFNCDataGridRenderer

Syntax

FMX.TMSFNCDataGridRenderer.hppPascalC++
OnCellClick: TTMSFNCDataGridCellClickEvent;
__property TTMSFNCDataGridCellClickEvent OnCellClick = {read=FOnCellClick, write=FOnCellClick};

Remarks

Also fires for fixed cells; a click on the sorting header sorts the column as part of the same click handling. Check the indexes against the fixed row and column counts when only data cells matter.

Parameters

Name Description
Sender Renderer that fired the event.
AColumn Zero-based column index of the clicked cell.
ARow Zero-based row index of the clicked cell.