TDBAdvGrid footerstyle and AddButton problems

TDBAdvGrid v2.3.6.10 gives stranges problems comparing to older versions.

Header columns are customized with buttons (ie. AddButton with 'X' caption) to let the user hide a column. Columnstates and SortSettings are loaded from a file.
FloatingFooter properties have default values  but FloatingFooter.FooterStyle to default fsFixedLastRow hides the last row of my displayed data. Changing it to another style shows last row of data. Also everytime new data is displayed the added buttons disappear from the header columns.
Very annoying.

So far, I could not see such problem here.

Can you see this problem with any of our demos and if so, could you send some sample source project with which we can reproduce this here?

Bruno, take the BDESelection sample and add this:


procedure TForm1.FormCreate(Sender: TObject);
var
 Local_i: Integer;
begin
  for Local_i := 1 to DBAdvGrid1.ColCount - 1 do
    DBAdvGrid1.AddButton(Local_i, 0, 16, 16, 'X', haRight, vaTop);
  DBAdvGrid1.ControlLook.NoDisabledButtonLook := true;
end;

Add a Button with the following code:

procedure TForm1.Button2Click(Sender: TObject);
begin
  Table1.Filtered := not Table1.Filtered;
end;

Set Table1.Filter to "CustNo=1380". That's all. When you run the application it fills the grid and shows the extra "X" buttons on the header columns. When clicking the new Button, the table gets filtered and the "X" buttons disappaer.

As said, with the older versions it worked.