TAdvStringGrid
Example 63 : Using subgrouping with TAdvStringGrid


procedure TForm1.InitGrid; begin advstringgrid1.Grouping.MergeHeader := true; advstringgrid1.Grouping.HeaderColor := clWhite; advstringgrid1.Grouping.HeaderColorTo := clInfoBk; advstringgrid1.SaveFixedCells := false; advstringgrid1.LoadFromCSV('.\cargroups.csv'); advstringgrid1.Group(1); advstringgrid1.SubGroup(1); advstringgrid1.ContractAll; advstringgrid1.Cells[1,0] :='Brand'; advstringgrid1.Cells[2,0] :='Type'; advstringgrid1.Cells[3,0] :='Cyl'; end;
Delphi project & source files for downloading included in the main demos distribution for Delphi.
×