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
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?
Didie
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
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
Nobody has the same problem?
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.
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
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.
Didie
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
Regards,
Thierry
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
Thank you for your note. I can confirm the issue.
We are working to resolve it for the next internal build.
Didie
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
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.
Didie
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
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?
You can find the latest Exporting to Xlsx and Pdf WPF Demo.
Regards,
Dimitrina
Telerik