Home Forums WinForms controls Xceed Grid for WinForms Multiple lines in Report header Reply To: Multiple lines in Report header

Xceed Support
Member
Post count: 5658

Here, you could simply add the new header to the grid directly and the Visible property to false. You would just need to set the ReportStyle.Visible property to true. You’ll be able to see it in the report, but not in the original grid.

TextRow textRow = new TextRow();
textRow.Text = “This is an other header”;
textRow.Visible = false;
textRow.ReportStyle.Visible = true;
gridControl1.FixedHeaderRows.Add( textRow );

Imported from legacy forums. Posted by CharlesB (had 942 views)