GridView Export, missing group headers

13 posts, 0 answers
  1. MARIE
    MARIE avatar
    19 posts
    Member since:
    Mar 2013

    Posted 20 Mar 2013 Link to this post

    Hi,
    When Using your sample http://demos.telerik.com/silverlight/#GridView/Exporting, I'm able to export in pdf and xls format with two headers grouped. But when I try to use my GridView with already grouped headers, headers don't appears in the exported file.

    They are displayed blank.

    Do you know what I'm doing wrong?


    Regards,

    TB
  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 21 Mar 2013 Link to this post

    Hello,

    I am not sure that I understand your description. First you say that you are able to export with two headers grouped. Then you say that with already grouped headers, headers don't appear in the exported file. Would you please share some sample code on how have you added the grouped headers and an image of what the result is?

    Regards,
    Didie
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
  4. MARIE
    MARIE avatar
    19 posts
    Member since:
    Mar 2013

    Posted 21 Mar 2013 Link to this post

    Hello,
    I'm ok with you , my description of the problem was not clear.

    This is how I define my groupss:

    <telerik:RadGridView.GroupDescriptors>
      <telerik:GroupDescriptor Member="Regroupement">
       </telerik:GroupDescriptor>
        <telerik:GroupDescriptor Member="Parc">
         </telerik:GroupDescriptor>
     </telerik:RadGridView.GroupDescriptors>


    Using Exactly the code you propose in demo, I obtain the attached file (pdf).

    Why can' I see The group Header?

    Regards,

    TB

    Regards,

    TB

  5. MARIE
    MARIE avatar
    19 posts
    Member since:
    Mar 2013

    Posted 22 Mar 2013 Link to this post

    Hi,
    Nobody has the same problem?
  6. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 22 Mar 2013 Link to this post

    Hello,

    I were able to reproduce the problem when there are GroupDescriptors defined for the RadGridView. The problem does not exist if you define ColumnGroupDescriptor as explained in this help article. Is it an option for you to change your implementation and define  ColumnGroupDescriptors instead?

    Regards,
    Didie
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  7. MARIE
    MARIE avatar
    19 posts
    Member since:
    Mar 2013

    Posted 22 Mar 2013 Link to this post

    Hi,
    No problem to change my implementation and define  ColumnGroupDescriptors.
    But the problem is not resolved.
    Maybe could you send me a small project I could use to compare with mine please?
    Regards,

    Thierry
  8. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 22 Mar 2013 Link to this post

    Hello Thierry,

    Indeed, we will further investigate the problem. I have logged it into our PITS system for fixing. You can follow its progress here. I have updated your telerik points for reporting this issue.

    Furthermore I have attached a sample project showing how to define ColumnSortDescriptors instead. You can test how it works.
     

    All the best,
    Didie
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  9. MARIE
    MARIE avatar
    19 posts
    Member since:
    Mar 2013

    Posted 22 Mar 2013 Link to this post

    Thanks a lot, I test your sample and I stay in touch

    Regards,

    Thierry
  10. MARIE
    MARIE avatar
    19 posts
    Member since:
    Mar 2013

    Posted 22 Mar 2013 Link to this post

    Conlusion:
    With :
    ExportFormat format = ExportFormat.Html;

    The result seems ok but my priority is PDF and ExcelML.
    PDF: none;
    ExelML: none;


    For PDF I solved the problem using radocument creating cells myself.
    But I need A ExelML output, and Groups Header.
    Except with RadGridCiew is it possible to use another way?

    Regards,

    Thierry
  11. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 26 Mar 2013 Link to this post

    Hello Thierry,

    Thank you for your note. I can confirm the issue.
    We are working to resolve it for the next internal build. 
     

    Regards,
    Didie
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  12. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 02 Apr 2013 Link to this post

    Hello Thierry,

    I have further tested the export with ExportFormat ExcelML. You say that on the online demo the export for the group headers is fine. As it turns out, it is indeed fine when the export format is HTML. On the other hand if the export format is ExcelML, then there are no group headers exported. It appears the export of group headers lacks implementation for the ExcelML format. I am afraid with the current version we could not find a workaround. 

    As to the issue with exporting the group headers and footers with GroupDescriptors defined (with ExportFormat.Html), we are still working on resolving it. As I already suggested, as a solution you could define ColumnGroupDescriptors instead. 

    For more advanced exporting options you can also check the Telerik Reporting.

    Kind regards,
    Didie
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  13. Grant
    Grant avatar
    1 posts
    Member since:
    Dec 2013

    Posted 26 Jul 2015 in reply to Dimitrina Link to this post

    I am working on a WPF project using GroupDescriptors written in XAML, and have found that the grouped headers in the grid do not show on the exported PDF output. Although when debugging the export process I can see that the text is being set on the row during the grid.ElementExporting eventhandler. 

    Is there a current example which shows this working?

  14. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 27 Jul 2015 Link to this post

    Hello,

    You can find the latest Exporting to Xlsx and Pdf WPF Demo.

    Regards,
    Dimitrina
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top
DevCraft banner