Collapsing Sub Groups

On page 106 of the "TMS TAdvStringGrid Developers Guide" you show an image of the subgroups having an expand/ collapse button (+/-).

On the following page you provide the code that ostensibly created the image.

However, when I try that the sub groups cannot be collapsed or expanded,

What's needed to have subgroups collapse/ expand enabled?

Thanks


Can't be reproduced with a standard grid on the form and following code:


procedure TForm1.Button1Click(Sender: TObject);
begin
  AdvStringGrid1.RowCount := 100;
  AdvStringGrid1.Randomfill(false,3);
  AdvStringGrid1.Group(1);
  AdvStringGrid1.SubGroup(1);
  AdvStringGrid1.SubGroup(2);
  AdvStringGrid1.ColWidths[1] := 10;
  AdvStringGrid1.ColWidths[2] := 10;
end;


Please check this first with the latest version. 

Nancy Lescouhier2012-06-11 04:07:49