Im trying to get value from specific cell from my TGrid but without success. I have try something like this
//Here i get value with a success but i need to get value from first column and
no matter what row it is clicked
TForm1.Grid1GetValue(Sender: TObject; const ACol,ARow: Integer; var Value: TValue);
begin
if grid1.Selected <> -1 then
x:= Value.ToString
end;
For example i clicked on third row.. i need value from first column third row cell. How can i do that?