This is a migrated thread and some comments may be shown as answers.

GridView Export, missing group headers

12 Answers 132 Views
GridView
This is a migrated thread and some comments may be shown as answers.
MARIE
Top achievements
Rank 1
MARIE asked on 20 Mar 2013, 11:20 AM
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

12 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 21 Mar 2013, 08:53 AM
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.

0
MARIE
Top achievements
Rank 1
answered on 21 Mar 2013, 10:37 AM
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

0
MARIE
Top achievements
Rank 1
answered on 22 Mar 2013, 11:34 AM
Hi,
Nobody has the same problem?
0
Dimitrina
Telerik team
answered on 22 Mar 2013, 11:56 AM
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.

0
MARIE
Top achievements
Rank 1
answered on 22 Mar 2013, 01:10 PM
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
0
Dimitrina
Telerik team
answered on 22 Mar 2013, 01:45 PM
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.

0
MARIE
Top achievements
Rank 1
answered on 22 Mar 2013, 03:03 PM
Thanks a lot, I test your sample and I stay in touch

Regards,

Thierry
0
MARIE
Top achievements
Rank 1
answered on 22 Mar 2013, 03:19 PM
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
0
Dimitrina
Telerik team
answered on 26 Mar 2013, 09:17 AM
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.

0
Dimitrina
Telerik team
answered on 02 Apr 2013, 11:27 AM
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.

0
Grant
Top achievements
Rank 1
answered on 26 Jul 2015, 11:02 AM

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?

0
Dimitrina
Telerik team
answered on 27 Jul 2015, 12:24 PM
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
Tags
GridView
Asked by
MARIE
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
MARIE
Top achievements
Rank 1
Grant
Top achievements
Rank 1
Share this question
or