Lock grid paint?

Using Tokyo and latest component pack.

I need to be able to lock the grid from doing any painting.

Basically have methods to allow a user to change view of data. 

It loads filters, hides/shows columns and sorts from a settings list. 

When you have a large grid doing each of these steps causes the view to jump
around while each action is performed.

I've tried begin / end update .... sendmessage to lock it... but nothing seems to work.


I cannot see an issue with BeginUpdate/EndUpdate. You can easily see this when putting 3 buttons on a form with the code:


procedure TForm1.Button1Click(Sender: TObject);
begin
  advstringgrid1.BeginUpdate;
end;

procedure TForm1.Button2Click(Sender: TObject);
begin
  advstringgrid1.Cells[1,1] := 'Test';
end;

procedure TForm1.Button3Click(Sender: TObject);
begin
  advstringgrid1.EndUpdate;
end;

Press button1 followed by button2 and you will not see cell 1,1 being updated. Only when you press button3, you see the cell is updated.