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

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #16085 |

    Dear All,

    How to add multiple lines in report header.

    Thanks 

    Imported from legacy forums. Posted by sk (had 452 views)

    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)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.