procedure TForm1.DBGrid1DrawColumnCell(Sender: TObject; const Rect: TRect;
DataCol: Integer; Column: TColumn; State: TGridDrawState);
var
GR: TDBGrid;
begin
if gdSelected in State then
begin
GR := TDBGrid(Sender);
GR.Canvas.Brush.Color := clLime;
GR.DefaultDrawColumnCell(Rect, Datacol, Column, State);
end;
end;