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

Huge font in Excel export

9 Answers 197 Views
PivotGrid and PivotFieldList
This is a migrated thread and some comments may be shown as answers.
Christian
Top achievements
Rank 1
Christian asked on 18 Nov 2015, 07:36 AM

Hello,

 since the second last update (2015-3-930 and including the latest update 2015-3-1104) the font in the excel export is huge (font size 400something). In "PivotExportToExcelML" there are some changes regarding font/font size (in "CreateStyleElement"). The code hasn't changed and is very simple:

PivotExportToExcelML excelExporter = new PivotExportToExcelML(rPVPanels);
excelExporter.ExportVisualSettings = true;
excelExporter.RunExport(TempFile);

(ExportVisualSetting true/false doesn't change anything)

 Can you confirm that and any plans on fixing this?

 

 

 

9 Answers, 1 is accepted

Sort by
0
Tapakah
Top achievements
Rank 2
answered on 18 Nov 2015, 02:55 PM
Hi.I am sorry that this topic, the issue of the topic :) Tell how to set parameters for all columns at export PivotExportToExcelML (width, stand, font) 
0
Todor
Telerik team
answered on 19 Nov 2015, 02:54 PM
@ Christian,
I can confirm that since Q3 2015 WinForms release PivotExportToExcelML fonts exporting is changed, in order to fix this issue and now all RadPivotGrid fonts should be correctly exported. So make sure your pivot grid does not contain cells with such a big font size and if the experienced issue still persists, please open a support ticket (which is private communication channel) and send us a sample project where the issue can be reproduced so we can investigate the precise case. Thank you in advance.

@ TaPaKaH,
When exporting with PivotExportToExcelML you can customize the visual style of cells on the PivotExcelCellFormatting event. Unfortunately, the column widths cannot be changed during the export, also the width of RadPivotGrid columns is not taken under consideration when exporting. I have logged these two issues in our feedback portal. You can track their progress, subscribe for status changes and add your vote/comment on the following links:
FIX. RadPivotGrid - when exporting to excel with PivotExportToExcelML column widths are not correct.
FIX. RadPivotGrid - when exporting to excel with PivotExportToExcelML the worksheet cannot be customized.
I have also updated your Telerik points.

Instead, you can use PivotGridSpreadExport, which utilizes our RadSpreadProcessing libraries and allows a lot of customizations to the exported worksheet.

I hope this information helps.

Regards,
Todor Vyagov
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
0
Tapakah
Top achievements
Rank 2
answered on 19 Nov 2015, 03:28 PM
I dont find RadSpreadProcessing in TelerikExport.dll
0
Tapakah
Top achievements
Rank 2
answered on 20 Nov 2015, 07:49 AM
*PivotGridSpreadExport  in TelerikExport.dll
0
Christian
Top achievements
Rank 1
answered on 20 Nov 2015, 08:40 AM

@Todor 

Ticket ID:989252

0
Todor
Telerik team
answered on 23 Nov 2015, 08:46 AM
@TaPaKaH

PivotGridSpreadExport is located in Telerik.WinControls.PivotGrid assembly. As you mentioned your project also needs to have reference to the TelerikExport assembly, which contains exporting logic.

More information can be found here: PivotGridSpreadExport | UI for WinForms Documentation

Should you have any other questions, do not hesitate to contact us.

Regards,
Todor Vyagov
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
0
Tapakah
Top achievements
Rank 2
answered on 23 Nov 2015, 01:37 PM

@Todor Vyagov

thank you!!

" PivotGridSpreadExport is located in Telerik.WinControls.PivotGrid assembly"

FAQ

"The spread export functionality is located in the TelerikExport.dll assembly. You need to include the following namespace in order to access the types contained in TelerikExport:
Telerik.WinControls.TelerikExport"

0
Todor
Telerik team
answered on 25 Nov 2015, 07:12 AM
Hello TaPaKaH,

Thank you for writing back. 

Note that Telerik.WinControls.PivotGrid contains the RadPivotGrid and all its components as well as PivotGridSpreadExport. TelrikExport makes the connection between PivotGrid and SpreadProcessing libraries and this is why you need to add it as a reference in your project.

If you have any additional questions, please let me know.

Regards,
Todor Vyagov
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
0
Tapakah
Top achievements
Rank 2
answered on 25 Nov 2015, 07:23 AM

 @Todor Vyagov

:) Thanks, PivotGridSpreadExport export option is well suited and has good functionality for configuring

Tags
PivotGrid and PivotFieldList
Asked by
Christian
Top achievements
Rank 1
Answers by
Tapakah
Top achievements
Rank 2
Todor
Telerik team
Christian
Top achievements
Rank 1
Share this question
or