Description


It is triggered when the user clicked on a cell.


The event contains parameters ACol and ARow, which contain the column number and row number, respectively, on which the user clicked.


Example


// show the contents of the cell clicked on by the user
procedure Form1_TableGrid1_OnCellClick (Sender: TObject; ACol, ARow: Integer);
begin
    ShowMessage( Form1.TableGrid1.Cells[ACol, ARow] );
end;