GridView Printing

2 posts, 0 answers
  1. Salah
    Salah avatar
    3 posts
    Member since:
    Mar 2012

    Posted 02 Apr 2012 Link to this post

    gridView dosnt Print Group Header Row
    exist an example in telerik winform example "group summaries"
    and i add a function to header row " Customer ID : ALFKI | Max of Freight: 63.53;"
    but in printing dosent show " | Max of Freight: 63.53;"

  2. Ivan Petrov
    Ivan Petrov avatar
    707 posts

    Posted 03 Apr 2012 Link to this post

    Hello Salah,

    Thank you for writing.

    I was able to reproduce the issue and I am happy to inform you that it has been addressed and will no longer be present in our next major release. Until the next release you can work around it by handling the PrintCellFormatting event and adding the following code to it:
    private void radGridView1_PrintCellFormatting(object sender, PrintCellFormattingEventArgs e)
      GridViewGroupRowInfo row = e.Row as GridViewGroupRowInfo;
      if (row != null)
        e.PrintCell.Text += " | " + row.GetSummary();

    I have also updated your Telerik points for bringing this issue to our attention.

    I hope this will help. If you have further questions, I would be glad to assist.

    Kind regards,
    Ivan Petrov
    the Telerik team
    RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
Back to Top