Hi The properties of the printgrid columnheader that can't be set from the header prop of the printgrid object can be changed in the grid itself.
after activating query and before calling showreport
procedure TForm1.Button2Click(Sender: TObject);
begin
query1.active := true;
dbgrid1.Columns[0].Title.Caption:= 'Mynew title';
frprintgrid1.showreport;
columns index is 0 based array of TColumn
Comments
after activating query and before calling showreport
procedure TForm1.Button2Click(Sender: TObject);
begin
query1.active := true;
dbgrid1.Columns[0].Title.Caption:= 'Mynew title';
frprintgrid1.showreport;
columns index is 0 based array of TColumn