Topic: Remove Selection from Tablegrid

Hello,
How to remove mouse selection from the Tablegrid ?

I try this code

procedure Form1_Button1_OnClick (Sender: TObject; var Cancel: boolean);
begin
    Form1.TableGrid1.ClearRows;
end;

This will make the tablegrid empty from the data

Life is like a school;
One can learn and graduate or stay behind.

Re: Remove Selection from Tablegrid

procedure Form1_Button1_OnClick (Sender: TObject; var Cancel: boolean);
begin
    Form1.TableGrid1.dbItemId := -1;
end;
Визуальное программирование: блог и телеграм-канал.

Re: Remove Selection from Tablegrid

Thanks, this is solved my problem.

Life is like a school;
One can learn and graduate or stay behind.