I can't figure out how to bold the group header using AdvStringGrid. Any ideas would be most appreciated
procedure TForm1.AdvStringGrid1GetCellColor(Sender: TObject; ARow,
ACol: Integer; AState: TGridDrawState; ABrush: TBrush; AFont: TFont);
begin
if AdvStringGrid1.IsNode(arow) then
begin
AFont.Style := [fsBold];
end;
end;
Did not work...could it be that I am also merging cells? Here is my code
Group(0);
for i := 1 to RowCount - 1 do
if IsNode(i) then
MergeCells(1,i,ColCount,1);
We cannot see a problem here. This is the test code applied to a default TAdvStringGrid: